I've just finished writing an update for my app, and now I want to submit it to the app store.
I've thoroughly tested it in debug mode on multiple devices, but I want to test it with the release build just to make sure nothing screws up.
In Xcode 4.0.2, when I wanted to test the release build (i.e. not distribute), I would just do the following
- In the project settings, make sure that the release code signing is set to "iPhone Developer" not "iPhone Distribution"
- Go to
Edit scheme...
, and change the Run scheme to Release instead of Debug. - Make sure my distribution provisioning profile is installed in Xcode
- Run it on the device, make sure everything works.
If it all works, I would then distribute with the following:
- Change the code signing to "iPhone Distribution"
- Make sure the Archive scheme is set to Release
- Archive
- Submit
Now the problem is, with Xcode 4.2, I can't test the release build on my device. - When I build it with release to my iPod, I get an alert:
A valid provisioning profile for this executable was not found.
So, I checked my provisioning profiles under the main "Library" section of the Devices pane (all provisioning profiles), and I found my distribution profile there.
The problem is, the provisioning profile says "This profile cannot be installed on deivces".
So, if I can't use the distribution profile with a device - how am I supposed to test the release build?
I would appreciate any advice with this issue - sorry if there's something obvious I'm missing!