[TIMOB-10243] iOS: dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/osascript) is code signed with entitlements (iOS)
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-09-21T10:56:55.000+0000 |
Affected Version/s | Release 2.1.0, Release 2.0.1, Release 2.1.1 |
Fix Version/s | Sprint 2012-17 API, Release 2.1.3, Release 3.0.0 |
Components | iOS |
Labels | core, qe-ios6, qe-testadded, qe-xcode44 |
Reporter | Blain Hamon |
Assignee | Blain Hamon |
Created | 2012-07-30T16:49:05.000+0000 |
Updated | 2012-09-21T11:19:09.000+0000 |
Description
During launching the simulator, the warning:
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/osascript) is code signed with entitlements
happens. This can be solved by putting os.unsetenv('DYLD_FRAMEWORK_PATH') outside the if statement on line 1401 of iphone/builder.py as the DYLD_FRAMEWORK_PATH variable is only needed for launching iphoneSim, and not for the osascript that happens afterwards.
https://github.com/appcelerator/titanium_mobile/pull/2791
Verified fix with: Titanium Studio, build: 2.1.2.201208201549 Titanium SDK: 2.2.0.v20120827113312 Simulator 5.1 iPhone 4.3.5
This needs backporting to 2.1.3 as it is occurring.
Can confirm this error still occurring in 2.1.3 RC
2_1_X PR MERGED https://github.com/appcelerator/titanium_mobile/pull/2994
Pull merged
Verified fixed on iPad and iPhone simulators 6.0, 5.1, and 5.0 with: SDK 2.1.3.v20120920181610 AND SDK 3.0.0.v20120921051359 Titanium Studio, build: 2.1.2.201208301612 Xcode 4.5 GM