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

I just made a new application on titanium. Before I edit it at all, when I load it to the iPhone emulator, I get the message "Build failed. Please see output for details." I've uninstalled and re-installed Titanium, deleted and re-made the app, and downloaded a patch that was supposed to fix this. However, the message still shows when I launch the app. Ideas? I have no clue what to do about this.

Ok, so I tried the things recommended in the first two comments and now it is saying there is an error and it is failing to build the app because the app is missing… so i located the file that TD was "missing" under my project folder then build/iphone/build/Debug-iphonesimulator…and when i click on the file, it says it is damaged. I have no clue what is going on with this.

— asked July 6th 2010 by Lauren R
  • app
  • application
  • build
  • fail
  • failed
  • install
  • launch
  • new
  • patch
0 Comments

2 Answers

  • Accepted Answer

    Titanium is a code generator that uses the build capability of the native SDK, whether iPhone or Android. Since you are launching an iPhone build, check that the desired iPhone SDK is listed to the left of your Launch / Stop buttons.

    I got a "Build Failed" message when I tried to build an iPhone 4 app with Titanium but hadn't yet upgraded XCode to the Xcode version containing the iPhone SDK 4 called "Snow Leopard Downloads:Xcode 3.2.3 and iPhone SDK 4." I downloaded and installed this newer XCode, re-opened Titanium, selected "4.0" from the SDK drop-down, and then successfully built my iPhone 4 app.

    — answered July 6th 2010 by Dan Weinstein
    permalink
    0 Comments
  • I was in a similar boat for a while. I was getting a build failure after upgrading my Xcode and iPhone SDK. Previous projects that I had been working on would no longer run. After doing the same TD uninstall/reinstall and developer patch from the blog post, what fixed it for me was to create a new project and then copy all the resources from my previous project to the new one, essentially cloning the project but letting TD lay down a new project framework from the start.

    — answered July 6th 2010 by Christopher Rumpf
    permalink
    1 Comment
    • After xcode update. my (companies) apps would no longer build. 3 days lost. - clean project, reinstall appcelerator, re imported the project about ten times. Finally Christopher, your answer worked. I didnt do the patch. Created new project and imported the resources. and the build finally worked. Thank you.

      — commented September 21st 2015 by Shane O'Brien
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.