There are times, when working with larger teams at larger organizations, when you do not have complete control over the Apple Developer Account. And there is some process to get access to basic provisining instruments.
In such cases what usually happens is that you do not have privilages to modify Provisioning Profiles and Production Certificates.
You can, however, generate your certificate and submit it to the admin, they should add your certificate to all development provisioning profile.
At times, when provisioning Gods are angry and you don't have visibilty, you will want to be able to
- Download Development Provisioning profiles
- Inspect them
- See if your development certificate is added to it.
- See if your iOS Device is provisioned for it.
This is how you'd go about it:
- Download Development Provisioning profiles
- Parse the Provisioning profiles and store the result in a temp.xml file
security cms -Di path/to/your_provisioning_profile.mobileprovision >> temp.xml
- Parse your development certificate and store the converted
base64
to another ctemp.txt file.base64 path/to/dev_certificate.cer > ctemp.txt
- Now you can search the string ctemp.txt in the file temp.xml
- Same thing, you can search for the device UDID in the file temp.xml
Links: