Commit Graph

3 Commits

Author SHA1 Message Date
filip131311 c990e98839 fix: use launchctl getenv to avoid simctl 127-byte truncation of DYLD_INSERT_LIBRARIES (#127)
`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
2026-04-16 00:16:10 +02:00
Filip131311 faf6911801 Fix: removeing other dylibs injected into the simulator (simCam compatibility) 2026-04-10 16:38:55 +02:00
Filip131311 f7348886d2 fix: new describe crashes 2026-04-07 19:09:12 +02:00