Monday, September 5, 2016

Mac - How to remove the iOS provisioning profiles

This can be done in below 3 steps

1. Navigate to the profiles folder on Mac machine

The profiles are under the directory ~/Library/MobileDevice/Provisioning Profiles

2. Search for profile if any already exist with same bundle id, which could have been already expired or signed with another identity.

The search can be done in the above folder with grep -lr "com.myserver.ppt" *
If the profile exist, this will list the filename(s) having this key.

Now delete the old profile

3. Generate the new profile from developer console and click to install it.

This ensure the Mac is having the latest profile available.
to Note, if the certificate is already expired, then one should install the certificate too, which is by opening the .p12 file that is given to the developer and providing the password to it.

references:
http://stackoverflow.com/questions/26732251/how-to-remove-provisioning-profiles-from-xcode-6-and-xcode-7

No comments:

Post a Comment