mirror of
https://github.com/software-mansion/argent.git
synced 2026-09-14 19:27:14 +08:00
c990e98839
`xcrun simctl getenv` silently truncates return values at 127 bytes. The code was reading with `simctl getenv` but writing with `simctl spawn ... launchctl setenv`, causing each ensureEnv() cycle to read a truncated value, fail to recognize the truncated argent path fragments, preserve them, and append a fresh bootstrap — corrupting the variable and clobbering third-party dylibs like SimCam. Fix: - Read via `simctl spawn <udid> launchctl getenv` (same store, no limit) - Restore fs.existsSync guard to strip truncated/stale entries while keeping third-party dylibs that exist on disk (e.g. SimCam) - Bump mcp version to 0.4.4
3.5 KiB
3.5 KiB