How to change my provisioning profile? [duplicate]
Asked Answered
S

2

6

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?

Scum answered 6/5, 2013 at 15:32 Comment(1)
P
0

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.

Prefabricate answered 6/5, 2013 at 15:35 Comment(4)
I have changed them all manually to ensure the correct ones are selected. What I assume is my old profile appears to be being used anyway.Scum
The identifier in the error looks far longer than the identifier in the code signing entry. I suspect their different things.Scum
have you tried deleting the profile's from organizer and re-downloading just the newest copy? the profile ID its referring to is something like profile version ID, the Developer ID that doesn't changePrefabricate
Ye I tried this I'm afraid.Scum
F
0

I ran into this earlier today. Try this...

  1. Download the new Prov Profile & install it to Organizer
  2. Go into Organizer and remove all old instances of the Prov Profile tied to that bundle identifier
  3. Build the code (it will fail)
  4. Change the code signing identity to "Don't Sign" (it will fail again)
  5. Clean the build (SHIFT+CMD+K)
  6. Change the code signing identity to the Prov Profile you just downloaded
  7. Build the code again (it should pass)
Fanfare answered 6/5, 2013 at 17:29 Comment(4)
Strangely enough even when I had code signing disabled it still gave me the same error, that provisioning profile '259..' could not be found.Scum
Are you trying to compile to Debug or Distribution?Fanfare
An ad-hoc build for my beta testers.Scum
what's Organizer?Yuan

© 2022 - 2024 — McMap. All rights reserved.