Titanium Community Questions & Answer Archive

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

[BUG] Can't run app on device with mobilesdk 1.3.0

App builds and runs fine in the simulator, but when trying to run on device, a window pops up with

"Install Error"

What information can I give you to help debug the problem?

— asked May 14th 2010 by Damien Elmes
  • bug
  • build
  • iphone
  • mobilesdk
0 Comments

18 Answers

  • Hey everybody,

    If all else fails, one thing to try as a sanity check is to:

    1. Create a brand new 1.3 project
    2. Copy over your Resources to the new project
    3. Run on the device
    — answered May 14th 2010 by Kevin Whinnery
    permalink
    0 Comments
  • Kevin,
    That seems to be failing now:
    "Project creation error. Error creating project. Please try again."

    — answered May 14th 2010 by Charlie Irish
    permalink
    0 Comments
  • I tried to build this in XCode to see what was wrong. The build succeeds, but at the end it gives me an error "no provisioned iPhone OS device is connected". The device is running 3.1.2, and works fine when I build using mobilesdk 1.2.0

    — answered May 14th 2010 by Damien Elmes
    permalink
    0 Comments
  • ug.. same problem here.

    — answered May 14th 2010 by Matt Porter
    permalink
    0 Comments
  • Ok, I have found two workarounds.

    Since the app is being built correctly, you can locate the app in the finder and drag it on to iTunes, then sync your device. Doing this manually is a pain, though.

    As for running from XCode, I found I had to go into XCode's organizer, and click 'use this device for development'. I seem to recall having done that before - but anyway, after doing that again, 'build and go' will properly install the app on the device. Note this doesn't fix building from Ti Developer.

    Build&Go will also start the app running gdb, so startup will be slow. If you quit the app and reload it, it should be faster.

    — answered May 14th 2010 by Damien Elmes
    permalink
    0 Comments
  • I get the same problem - can get round it by finding the app in the build subfolder and dropping into iTunes. However it seems that there is no more Debug-iphoneos folder but now only a Release-iphoneos folder. The app from there seems to work, so no big deal but shame you can't do it from Titan.

    Was wondering if you need to distribute the Dist provision profile when testing this app elsewhere or would the develop one still do?

    — answered May 14th 2010 by Paul Burrowes
    permalink
    0 Comments
  • I'm seeing a similar problem. When trying to build:
    Device:iPhone
    Apple SDK: 3.1
    Titanium SDK: 1.30

    Titanium Developer (1.2.1)
    Install Error

    Build Failed (Missing app at /Users/…). Please see output for more details

    — answered May 14th 2010 by Charlie Irish
    permalink
    0 Comments
  • I'm seeing a similar problem. When trying to build:
    Device:iPhone
    Apple SDK: 3.1
    Titanium SDK: 1.30

    Titanium Developer (1.2.1)
    Install Error

    Build Failed (Missing app at /Users/…). Please see output for more details

    !!Better Workaround!!
    create new project and copy resource files from existing project.
    http://twitter.com/appcelerator/statuses/13987698272

    — answered May 14th 2010 by Charlie Irish
    permalink
    0 Comments
  • Kevin,
    That seems to be failing now:
    "Project creation error. Error creating project. Please try again."

    — answered May 14th 2010 by Charlie Irish
    permalink
    0 Comments
  • Charlie,

    I am able to create a new project. I am running iPhone SDK version 3.2 final, Android 1.6 with multiple API versions installed, Titanium Mobile SDK 1.3.0, and Titanium Developer 1.2.1.

    — answered May 14th 2010 by Kevin Whinnery
    permalink
    0 Comments
  • Charlie,

    I am able to create a new project. I am running iPhone SDK version 3.2 final, Android 1.6 with multiple API versions installed, Titanium Mobile SDK 1.3.0, and Titanium Developer 1.2.1.

    — answered May 14th 2010 by Kevin Whinnery
    permalink
    0 Comments
  • Charlie,

    I am able to create a new project. I am running iPhone SDK version 3.2 final, Android 1.6 with multiple API versions installed, Titanium Mobile SDK 1.3.0, and Titanium Developer 1.2.1.

    — answered May 14th 2010 by Kevin Whinnery
    permalink
    0 Comments
  • Still a problem here. (like others: http://twitter.com/beefytweets/statuses/13991533755)

    > Also, I have noticed that the app name appears many times via the analytics (?) screen at: https://my.appcelerator.com/apps

    — answered May 14th 2010 by Charlie Irish
    permalink
    0 Comments
  • i'm having the same issue when trying to run on device with mobile sdk 1.3

    tried kevin's suggestion and created a new project, copied over resources, but get the same simple error:
    "install error"

    that's it.

    able to run on iphone emulator, but not on the device.

    specs:

    Mac OS X 10.5.8 Leopard
    TI Dev : 1.2.1
    TI Mobile SDK : 1.3
    iPhone SDK : 3.1

    just in case this is a separate issue, i've created my own question to not take this one off track:
    http://developer.appcelerator.com/question/25711/bug-install-error-cant-run-on-device–ti-13

    thanks!

    rocksteady,
    danno~

    — answered May 14th 2010 by danno watts
    permalink
    0 Comments
  • After I upgraded to snow leopard and the 3.2 sdk, the problem mysteriously went away.

    — answered May 15th 2010 by Damien Elmes
    permalink
    0 Comments
  • try deleting the build/iphone/build folder.

    then edit the project.xcconfig file (in build/iphone) to a lower sdk version than you need.

    that should force a rebuild in your version. (you may have to do this again for the next time too - I haven't checked this since they officially dropped 1.3.0)

    — answered May 16th 2010 by Kosso
    permalink
    0 Comments
  • I found that it helps if you install the provisioning profile via Xcode first - either double click the file after you download it, or open the Xcode Organiser and add the profile manually there. Then try building from Titanium again. Then to get the file onto the device if it fails later, you can do so through the Organiser too. Click the 'add app' button and then browse to the project's build/iphone/build/Release-iphoneos

    — answered September 30th 2010 by Charles Davison
    permalink
    0 Comments
  • https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobile/tickets/1888-fix-pressing-install-now-produces-install-error#ticket-1888-3

    The fix proposed at the above link worked for me.

    — answered October 27th 2010 by Udi Falkson
    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.