How to change my provisioning profile?

Declan McKenna picture Declan McKenna · May 6, 2013 · Viewed 20.4k times · Source

I wanted to add a new beta tester today so updated my provisioning profile to include them. When I attempted to run my app an error appeared saying my profile '*' did not match my profile 'com.HUDKING'. I deleted my old profile and my bundle identifier to check this was not the cause and altered my codesigning as shown below.

When I attempt to archive my app I get the following error: Provisioning profile '259FB85E-9614-4A3A-9987-9F4619BA2F9B' can't be found

None of my profiles appear to have this identifier, I've set them all manually to ensure the right profiles are selected: enter image description here

How do I fix this? Is there an easier way to run a beta test?

Answer

andrew lattis picture andrew lattis · May 6, 2013

it sounds like Xcode is still trying to use your old profile, it remembers the ID it was using previously.

the best answer is to change all of your code signing identities to be the automatically selected entries. otherwise just changing the selected identity and setting to the new profile should work.