Reputation: 6297
I am working on my first iOS project. I created my app in Xcode, and it works fine in the iPad simulator. Then I purchased an iPad and signed up and paid for the $99/year development program. I assumed it wouldn't be too hard to try the app out on my new iPad! Wrong!
I have now gone to through the provisioning portal process and generated/downloaded all the certificates and provisioning profiles. XCode has accepted a provisioning profile for my iPad. BUT when I build my project for the iPad target, the build fails because; "A valid provisioning profile matching the application's Identifier 'com.triplehappy.publish' could not be found".
I assigned com.triplehappy.publish as my Bundle Identifier before I got the provisioning profile. What is the bundle identifier and how can I link it to my provisioning profile ?
Edit: It turns out my bundle identifier and provisioning profile were compatible; I had a different problem (see San's answer and comments). For the record a simple bundle identifier like com.triplehappy.publish is compatible with a simple provisioning profile Application ID of the form QWERTYABC4.* I haven't yet had to deal with the more complex multiple product/multiple developers/app store ready scenarios.
Upvotes: 2
Views: 249
Reputation: 1593
Your provisioning profile have also bundle identifier. So your app should have the same bundle identifier as your provisioning which you are using.You can use developer provision profile to run any app directly on your device.
For more details concept take a look to apple's documentation.
Upvotes: 1