Titanium Community Questions & Answer Archive

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

Unable to build

I've just downloaded the current release of the Titanium developer 1.2.1 and I'm unable to build any mobile application.

IPhone¨

Building the KitchenSink for simulation ends with:

[INFO] Performing clean build
[INFO] Detected custom font: comic_zine_ot.otf

and not starting the simulator (using IPhone SDK 3.1 and TI SDK 1.4.0)

Android

Ends with:

[INFO] Installing application on device
[ERROR] Failed installing com.appcelerator.kitchensink: pkg: /data/local/tmp/app.apk
on any Android SDK (even if the simulator starts)

SDKs and every requirement is installed as mentioned in the docs delivered with the TI 1.2.1. Buidling existing XCode projects and running them in the iPhone simulator works fine.

can anyone give me a hint?

— asked August 16th 2010 by Daniel Hartmann
  • android
  • iphone
  • mac
  • simulator
0 Comments

4 Answers

  • Accepted Answer

    Are you able to create and run a brand new project? If so, you can copy over the Info.plist file, tiapp.xml file, and the contents of the Resources directory from the original Kitchen Sink over to the new project and run that.

    — answered August 16th 2010 by Kevin Whinnery
    permalink
    0 Comments
  • Someone else had the same problem here. A user found the way to fix it: http://developer.appcelerator.com/question/49151/custom-font-solution

    This fix is only for the font build message. Not sure about the Android message. Anyone else?

    This fixes another problem as well. Other solutions say to just edit the plist.info.template file to list the custom font. For me, this fixed the build problem, but still didn't show the font. The video in the link above fixed both the build and the font display problem.

    — answered August 16th 2010 by Daniel Hampton
    permalink
    0 Comments
  • Unfortunately this wont help… I'm not able to simulate a new project.

    See the build.log for details:
    https://gist.github.com/df7097ce557e36a4f95a

    — answered August 17th 2010 by Daniel Hartmann
    permalink
    0 Comments
  • Here's more log…

    https://gist.github.com/84d33b1eead142d37425

    — answered August 23rd 2010 by Daniel Hartmann
    permalink
    0 Comments
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.