A valid provisioning profile for this executable was not found.
I have the above error message when trying to compile to an iPhone 5 for testing. The project has been compiled to an iPhone 4 (with iOS 6) and an iPhone 4s (with iOS 5) and it is ok.
Have also downloaded a file called “iOS_development.cer” from the Apple developer site. Not sure if the *.cer file is the right file to download. And also cannot install the *.cer file in Xcode.
Please help …
A “
.cer” file is a certificate file that allows you to code sign apps that you install and/or distribute ADHOC versions for.The file you really want to have is the mobile provisioning file. If you download it from the provisioning portal, it will have a “
.mobileprovision” extension at the end of it. Double clicking this file will install it into your Xcode organizer (under “Devices”).If you did it correctly, it should appear on this screen:
You install the certificate once, and you might create a mobile provision file for each new project / app you work on (unless you have Xcode manage the provisioning automatically).