Build error after upgrade --- dyld: DYLD_ environment variables being ignored

You must Login before you can answer or comment on any questions.

Hi Guys, Upgraded to Mountain Lion from Snow Leopard, upgraded Titanium Studio and XCODE etc... Now when i build i get the following error 'dyld' and i cant seem to see why i get the error.

Framework = 2.1.0.GA

[INFO] iPhone SDK version: 5.1
[INFO] iPhone simulated device: iphone
[INFO] Performing full rebuild. This will take a little bit. Hold tight...
[INFO] Skipping JS compile, running from simulator
[INFO] Performing clean build
[INFO] Launching application in Simulator
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/osascript) is code signed with entitlements
[INFO] Launched application in Simulator (156.25 seconds)
[INFO] Application has exited from Simulator
Any ideas? Please help, i cannot test my apps now :(

— asked 11 months ago by adam kearsley
3 Comments
  • Hello, I'm having a similar problem after upgrading from lion to mountain lion this morning.

    dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/osascript) is code signed with entitlements

    I am still able to compile and test apps, but I'm wondering if it is giving me some unstable behavior during the tests.

    — commented 11 months ago by David Norman

  • I see this as well, although the app runs fine in the simulator.

    — commented 11 months ago by Steve Lombardi

  • I have similar problem too, when I just install TiStudio and run myFirstApp-- welcome.

    — commented 10 months ago by Mark Gang Peng

5 Answers

For those of you who updated to Mountain Lion and cannot run the app, here is the work around until we start supporting it:

  1. Build the project through Studio, as usual
  2. Go to the finder and open the Xcode project ( root/build/iphone/app_name.xcodeproj )
  3. Choose the target you're aiming for ( iPhone (empty), iPad, or universal )
  4. Build from Xcode

This is a workaround and not recommended for normal development. Do this only if you can't build it from Studio.

Ahh apparently Ti isnt ready for any XCODE versions above 4.2 yet... time to downgrade lol

same here, but everything seems to compile normally.. at least on simulator.

— answered 11 months ago by Ygor Lemos
answer permalink
1 Comment
  • TIMOB-9312 seems to be related with this problem...

    https://jira.appcelerator.org/browse/TIMOB-9312

    — commented 11 months ago by Ygor Lemos

i have the same problem, [INFO] One moment, building ... [INFO] Titanium SDK version: 2.0.2 (05/30/12 10:21 2ff31a3) [INFO] iPhone Device family: iphone [INFO] iPhone SDK version: 5.1 [INFO] iPhone simulated device: iphone [INFO] Launching application in Simulator dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/osascript) is code signed with entitlements [INFO] Launched application in Simulator (4.41 seconds)

Same here . Clean install of Mountain Lion + Xcode version 4.4, But it runs on emulator from both xcode and titanium

[INFO] One moment, building ... [INFO] Titanium SDK version: 2.1.0 (06/28/12 12:16 6e3cab6) [INFO] iPhone Device family: iphone [INFO] iPhone SDK version: 5.1 [INFO] iPhone simulated device: iphone [INFO] Compiling localization files [INFO] Launching application in Simulator dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/osascript) is code signed with entitlements [INFO] Launched application in Simulator (7.11 seconds) [INFO] Application started [INFO] studioone/1.0 (2.1.0.GA.6e3cab6)

Your Answer

Think you can help? Login to answer this question!