On Jun 30, 2016, at 11:56 AM, William Squires wrote:

> If I add a new app ID (a specific one, rather than the wildcard, 
> 'com.<yourcompany>.*'), do I have to re-make all the provisioning profiles? 
> And, if so, will the provisioning profiles then only work for the new app ID, 
> rather than the wildcard one? Or, can a device have more than one 
> provisioning profile (one for the wildcard app ID, and one for each 
> additional app ID)?
>  If I do have to create a (set) of specific app IDs, will Xcode download them 
> (and the developer provisioning profiles) into the device automatically, so 
> long as Xcode has the "team" selected in the projects settings, or will 
> having the old wildcard app ID (and any public/private keys) in the keychain 
> somewhere screw it up?

Out of those many worthy questions, what I do know is that if you do have one 
expired cert in your keychain, even if you do have a valid cert, valid profile, 
and valid public/private key pair, that invalid cert is what is caught and will 
prevent ode signing from succeeding, even if you are looking straight at a nice 
"green means good" trusted cert installed keychain.

Make sure to remove the old ones that are expired and pay attention to if any 
certs are expired.  

Just to be save, remove your provisioning profiles too and get fresh ones.

Here's what happened to me just the other day.

When uploading to the App Store 2 days ago, we wasted 1/2 to an hour, because 
even though I had set the proper profile, developer and everything else, since 
we did have a wildcard distro profile (ad hoc), Xcode insisted on using that to 
code sign the app that I was submitting rather than the one that was assigned 
to the app.

Of course it took 20 minutes to upload and we got an email back saying that the 
wild card profile didn't have the correct entitlements for our app (which it 
actually did).

So, I deleted the matching provisioning profile from the code signing assets 
folder and Xcode automatically started using the one that I had set it to all 
along.


What I did find that makes this somewhat less horrid is a spotlight plugin that 
when selecting a provisioning profile, shows all the data for it.  It's epic.

https://github.com/chockenberry/Provisioning


> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      (Xcode-users@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/xcode-users/zav%40mac.com
> 
> This email sent to z...@mac.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (Xcode-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to