Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
17060 Discussions

Unable to build app for iPhone

David_K_6
Beginner
1,159 Views

I'm a newbie here trying to build a Cordova app. Everything's fine in emulation and in AppPreview accessed from the Intel test server, but I'm now trying and failing to run the app on a real iPhone.

I've now created a trivial application (the blank Cordova sample) to try to troubleshoot my problems without any of my own code getting in the way. I'm following the steps in https://software.intel.com/en-us/xdk/docs/building-cordova-ios-apps-intel-xdk.

I've created CSR / Certificate / App ID / Provisioning Profile, placed the Provisioning Profile in the www directory of my app, and specified it in the "Build settings" on the Projects tab. However, I am getting an error screen saying:

Will use the provisioning profile for "adhoc"
Warning: No provisioning profile found
Error: Provisioning profile is missing from the configuration file

I've attached screen shots of the error screen and of the build settings tab. I can't see what else I'm supposed to do to get the system to accept my provisioning profile.

All help appreciated!

0 Kudos
4 Replies
John_H_Intel2
Employee
1,159 Views

You need to upload your files after you make changes in the build settings. It does not appear that you have done that.

0 Kudos
David_K_6
Beginner
1,159 Views

John H: You might think so. But I have absolutely clicked the button which said "update files", and verified that the time shown for "you last updated your files on xxx" is what it should be.

0 Kudos
John_H_Intel2
Employee
1,159 Views

When I looked at your account previously, only a bare bones app was in the cloud. Are you behind a firewall that could be blocking?

Try creating a new app, modify the index.html page some and try again.

0 Kudos
David_K_6
Beginner
1,159 Views

The reason only a bare bones app was in the cloud was that to make sure that I deleted everything I had on both XDK and the Apple Developer Center and start again with a clean app with none of my one code, to prove that there wasn't anything in my own code causing the problem.

However, there is good news: whatever the problem was, upgrading XDK to v2496 (which arrived yesterday) has now fixed it: I have successfully built the bare bones app, including the plugin that was giving me trouble, and deployed it (in developer mode) to a real iPhone.

The only changes are (a) installing v2496 and (b) I did a build and test for Android in the interim. So it's presumably a v2496 bug fix.

0 Kudos
Reply