0

Building application with Phonegap Build, but i don't know why the application couldn't install on iOS devices. I did signed the application as distribution license of Apple iOS Developer License, and here is the link for the application.

Link to download iOS version

Link to download Android version

Error i get: Can download and installing, at the middle of installation: "AppName" could not be installed at this time.

1myb
  • 3,536
  • 12
  • 53
  • 73

2 Answers2

2

in the build setting make sure you code signing identity is set to Developer and not Distribution. Only set it to Distribution when you are going submit to iTunes

you must have an apple developer login and the appropriate provisioning and the device you install the app on must be registered in the provisioning portal.

you can go to https://developer.apple.com/ios/manage/devices/index.action

and login with you apple developer login to make sure the device is registered in the provision portal.

Johnny
  • 1,141
  • 9
  • 6
  • i was added the device to Apple provision portal but it could not be installed also... – 1myb Jul 25 '12 at 05:21
  • 1
    When I get weird build errors i usually do a project clean and delete all the files in my build directory. then try and do an install. but my research on this error points to a provision profile issue...I can keep digging if this doesn't work – Johnny Jul 25 '12 at 05:30
  • will this because of i build the application using phonegap build service and got some different ? – 1myb Jul 25 '12 at 05:31
  • i doubt that it is a phonegap issue. phonegap issues will usually cause build errors. it is an xcode provisioning profile issue. Have you ever been able to get any other apps to run? native or phonegap? – Johnny Jul 25 '12 at 05:34
  • usually i develop native app through XCode and this is the first time i use PhoneGap Built while it sound interesting.. and aware of annoying provisioning issues, i did setting properly and it still couldn't be installed on iOS – 1myb Jul 25 '12 at 05:55
  • 1
    I've build several native and phonegap apps and never encountered that. are you building the ipa and then installing it to your device or are building in debug mode straight to your device? – Johnny Jul 25 '12 at 06:03
  • Yea.. i found the problem finally.. cannot use debug mode for the iOS application... – 1myb Jul 25 '12 at 06:43
0

Build your Phonegap app for iOS just as you would a native one. That's the biggest advantage of using Phonegap - you have all the control. Add the devices you want to test to a provisioning profile, add the profile to organizer, set the code signing identity to that profile and then archive/build your app, etc. You can refer to the various links available online like this one or this one. My guess is that you forgot to add the UDIDs of the devices you want to test on to the provisioning profile that you've used. Refer to this SO question to see if you had added these devices to the provisioning profile.

Community
  • 1
  • 1
tipycalFlow
  • 7,594
  • 4
  • 34
  • 45