Search code examples
iosxcodebundleprovisioning-profile

Cannot launch iPad app onto iPad (Code Sign Error)


I can't seem to launch an app onto my iPad. The problem I think is coming from the fact that I've inherited this old app from a former coworker and was told to finish it, and he set up the project initially on a different profile. Combine this with the fact that I'm a newb, and this is a disaster.

The error is :

Code Sign error: A valid provisioning profile matching the application's Identifier 'com.yourcompany.*' could not be found

I realize the object in quotes is the bundle ID. So my question is - what should I be setting my bundle ID to to make this work? I have a provisioning profile and an app ID for development, which I generated through XCode. Perhaps there's another setting not set correctly, but I've read through the other stackoverflow answers and can't really understand why this bundle ID matters so much or where to get its value from.

Please help :-(


Solution

  • You need to make sure you have a provisioning profile and app ID that match the bundle ID of the app. The provisioning profile needs to match a valid certificate on your computer. Then you need to make sure that the provisioning profile is indicated for the correct build configuration (the standard two are Debug and Release) under your Build Settings.