Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Build Failed: iPad: Titanium v1.4.0 w/ SDK 4.0:

I'm trying to deploy a simple add to an iPad. I click "Install Now", after a few seconds both of my processors are 100% taxed until I get the "Install Failed" prompt.

After examining the build.log, I see the following output. Anyone have any ideas? The app runs fine within the iPhone/iPad Simulator.


BUILD FAILED

The following build commands failed:
Test_iPad_App-iPad:
PhaseScriptExecution Pre-Compile /Storage/Research/Titanium_Tests/iPad/Test_iPad_App/build/iphone/build/Test_iPad_App.build/Release-iphoneos/Test_iPad_App-iPad.build/Script-24D8E3B9119B9D8A00F8CAA6.sh
(1 failure)

EXIT CODE WAS: 1

Exception detected in script:
Traceback (most recent call last):
File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/builder.py", line 962, in main
execute_xcode("iphoneos%s" % iphone_version,args,False)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/builder.py", line 758, in execute_xcode
output = run.run(args,False,False,o)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/run.py", line 31, in run
sys.exit(rc)

SystemExit: 1

— asked August 10th 2010 by Jag Lavek
  • 1.4.0
  • 4.0
  • failed
  • install
  • ipad
  • sdk
0 Comments

4 Answers

  • For iPad-only app, select Apple SDK 3.2, and remember to save. iOS 4.0 is not compatible with iPad.

    — answered August 10th 2010 by Daniel Lim
    permalink
    0 Comments
  • Hi Daniel. Thanks for the information. However, it's my understanding that Apple prefers that apps are compiled with the latest SDK.

    I was able to get my application to work working by creating a new project and pulling over all the resources and then recompiling.

    App works fine when using SDK 4.0

    — answered August 10th 2010 by Jag Lavek
    permalink
    0 Comments
  • had same error.
    fixed by creating new app in ti selecting sdk 4.0. then copying resources from existing app into it.

    — answered August 14th 2010 by Dan Newman
    permalink
    0 Comments
  • Error is another issue, I've seen that time to ti e when switching sdk build version.

    But make sure you're heading the right direction. iPhone sdk 3.23 contains ios 4 and ios 3.2. The latter is for iPad only and ios 4 version of iPad won't be here till fall. Unless i was completely misinformed, if i did, please correct my mistake. You can't build iPad app with ios4, it will not be accepted in store, at least not now. Double check the developer guideline before you proceed. The latest specified iPad sdk is still 3.2.

    — answered August 14th 2010 by Daniel Lim
    permalink
    1 Comment
    • Hi Daniel. Actually you may be correct. I was confusing the need to build iPhone apps against the 4.0 SDK. Hopefully this hasn't confused anyone.

      Thanks again for helping out.

      — commented August 17th 2010 by Jag Lavek
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.