I have an iPad application made in Xcode 6.1.1 in which I am using external chart in C-Objective. Everything is working perfectly until I set up Bundle Identifier.
If I want to test it (without error) in simulator I need to have Bundle identifiers to all my parts set like:
Main part...com.Project
Other part...com.Project.SomePart
Chart....com.Project.Chart
Etc.
But in this case if I want to Archive it (for ITunes registering purposes) with this set up there is error:
*"The provisioning profile specified in your build settings (“PROFILE”) has an AppID of “com.Project” which does not match your bundle identifier “com.Project.Chart”. Xcode can resolve this issue by downloading a new provisioning profile from the Member Center."*
This error disappear and I am free to archive when a set up my Bundle identifiers like this:
Main part...com.Project
Other part...com.Project.SomePart
**Chart....com.Project**
Etc.
But in this case I can't test it in simulator because of error error:
*An error was encountered while running (Domain = LaunchServicesError, Code = 0)*
Which I found out is because of prefixes.
How should I continue if I want to get my app online at iTunes? Is it key that I can't test it in that configuration which Archive(and validation and submitting) takes?
Correct setting of Bundle ID is the usual one with prefix of Bundle ID and with the sufix with dot
BundleID.sufix
The problem was that at my developer account I wrongly created Explicit App ID and it was suppose to be Wildcard App ID because of framework I used.