[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?
18 Answers
-
Hey everybody,
If all else fails, one thing to try as a sanity check is to:
- Create a brand new 1.3 project
- Copy over your Resources to the new project
- Run on the device
-
Kevin,
That seems to be failing now:
"Project creation error. Error creating project. Please try again." -
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
-
ug.. same problem here.
-
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.
-
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?
-
I'm seeing a similar problem. When trying to build:
Device:iPhone
Apple SDK: 3.1
Titanium SDK: 1.30Titanium Developer (1.2.1)
Install ErrorBuild Failed (Missing app at /Users/…). Please see output for more details
-
I'm seeing a similar problem. When trying to build:
Device:iPhone
Apple SDK: 3.1
Titanium SDK: 1.30Titanium Developer (1.2.1)
Install ErrorBuild 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 -
Kevin,
That seems to be failing now:
"Project creation error. Error creating project. Please try again." -
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.
-
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.
-
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.
-
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
-
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.1just 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-13thanks!
rocksteady,
danno~ -
After I upgraded to snow leopard and the 3.2 sdk, the problem mysteriously went away.
-
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)
-
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
-
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.