- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After having completed the long and fastidious Apple procedure for obtaining certificates and a provisioning profile, I'm trying to build my app for iOS.
First I had put the address of the provisioning profile in the field "Ad Hoc Provisioning file" of the iOS tab of Buid settings. It was accepted and the file was uploaded. The build failed.
Reading carefully the document at this address "https://software.intel.com/en-us/xdk/docs/cordova-for-ios-build-options", I discovered that I had to put in that field the address of a file directing to the provisioning profile. I dit it with the following instruction : <intelxdk:provisioning intelxdk:src="certificats\MVBD3.mobileprovision" intelxdk:type="adhoc" /> or <intelxdk:provisioning intelxdk:src="MVBD3.mobileprovision" intelxdk:type="adhoc" />. In both cases, the build failed ; the log is copied at the end of this post.
Is my method correct ? I have 4 more precise questions :
- The provisioning profile and the provisioning file are in the same subfolder of the www folder. Should the address in the provisioning file be absolute ou relative (with the name of the subfolder or not)?
- Is the word "adhoc" correct for the type parameter (provisioning profile scheme) ?
- Should the App id prefix be written in the App id field of the Build settings ?
- Where should the package name be specified ?
Thank you for your help.
Build Log:
- Building a Cordova 3.5 application.
- The application name is "MVBD"
- The package name is "not.yet.specified"
- Will use the provisioning profile for "adhoc"
- Warning: No provisioning profile found.
- IError: Provisioning profile is missing from the configuration file.
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should be setting all of the items you are referring to in the "Build Settings" section of the "Projects" tab. The manual procedures are not recommended, they were created for a much older version of the product and for unusual cases. Please see the Build Settings section of the Projects tab. At this time you do need to put those provisioning files inside your www directory. We are working on a solution that would allow those to be located outside of the www directory, but that will only be available with a future release, not now.
I don't follow your question regarding "adhoc" -- for the adhoc provisioning file you need to create and download an "adhoc" provisioning file from your Apple developers account. This will allow you to put the app onto your device without having to go through the Apple store. Make sure the app id in the provisioning file, and the unique ID for your device are part of that file. You can use wildcards in the adhoc provisioning file, for example, just use '*' and all of your app ids will work with that adhoc provisioning file. There are restrictions with regard to wildcards in the app id field of the provisioning file, I think you cannot use them when you are using push, for example, but I do not recall the details.
Also, you must place the physical provisioning file into the www directory, symbolic links do not always work (hard links usually do work).
Make sure you don't have any funny characters in the name of your app, it can sometimes get in the way of the Cordova build system. Also, try building the blank template, first, to be sure you can build an iOS app (make sure you provisioning file includes that app id, or has a wildcard, or change the app id of the blank template to match your provisioning file).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It appears to either be the name of your app or your provisioning file:
Check dependencies Code Sign error: Provisioning profile does not match bundle identifier: The provisioning profile specified in your build settings (“MVprofilâ€) has an AppID of “com.michelakohnwanadoofr.*†which does not match your bundle identifier “375E3RY9Z4.com.michelakohnwanadoofr.*â€. CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.0' ** BUILD FAILED **
There have been issues with unusual characters in the app names (this can also apply to your project name) causing problems with iOS builds. We are eliminated most of those problems, but it appears that they may not be completely banished.
Please create a new project with only English characters (no accented characters, etc.) and see if that makes a difference.
Also, are you using a wildcard character in the App ID field of the Build Settings? I'm a bit confused by this statement in your post:
AppID : 375E3RY9Z4.com.michelakohnwanadoofr.*
It makes me think that you are using wildcards in the Build Settings of you app. The wildcard should only be applied to the provision file, the app needs to have a very specific App ID, no wildcard characters there, just simple alpha, numeric and dots. In the provision file you can specify an app id of just '*' and nothing more, you don't have to have anything more (for adhoc and dev testing only, not for production).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, Paul, for your answer during a weekend, a very special weekend for you, your colleagues and your families !
The wildcard in the AppId came from an Apple document I had consulted. It was the last problem for the building : I could successfully build the app based on your Geolocation demo, then my own app.
I go on trying to install this app, after downloading to my iPad ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to connect your iPad to your desktop over USB and then install and run iTunes on your desktop machine.
The OTA solution is currently broken. Please see this post for a workaround using iTunes: https://software.intel.com/en-us/forums/topic/560648

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page