Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10243] iOS: dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/osascript) is code signed with entitlements (iOS)

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-09-21T10:56:55.000+0000
Affected Version/sRelease 2.1.0, Release 2.0.1, Release 2.1.1
Fix Version/sSprint 2012-17 API, Release 2.1.3, Release 3.0.0
ComponentsiOS
Labelscore, qe-ios6, qe-testadded, qe-xcode44
ReporterBlain Hamon
AssigneeBlain Hamon
Created2012-07-30T16:49:05.000+0000
Updated2012-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.

Comments

  1. Blain Hamon 2012-08-21

    https://github.com/appcelerator/titanium_mobile/pull/2791
  2. Olga Romero 2012-08-27

    Verified fix with: Titanium Studio, build: 2.1.2.201208201549 Titanium SDK: 2.2.0.v20120827113312 Simulator 5.1 iPhone 4.3.5
  3. Eric Merriman 2012-09-17

    This needs backporting to 2.1.3 as it is occurring.
  4. Daniel Mahon 2012-09-20

    Can confirm this error still occurring in 2.1.3 RC
  5. Sabil Rahim 2012-09-20

    2_1_X PR MERGED https://github.com/appcelerator/titanium_mobile/pull/2994
  6. Blain Hamon 2012-09-21

    Pull merged
  7. Eric Merriman 2012-09-21

    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

JSON Source