Where are the Provisioning Profiles located in Xcode 8.3.3 within the project and/or file directory?
Xcode Provisioning Profiles Location
165.6k Views Asked by John At
3
There are 3 best solutions below
3
On
FWIW if you're building into a physical device, then if you dig through your derived data, you can find:
/Users/my_username/Library/Developer/Xcode/DerivedData/MyCompanyName-ebd35ntnhtdhykyasixtkvjjqlcsu/Build/Products/Debug-iphoneos/CoolAppName.app/embedded.mobileprovision
In the Build/Products/Debug-iphoneos directory you'll find your app name just like:
CoolAppName // it won't have any `.app` extension or anything.
You just have to right click on it and hit 'show package contents' or just change directory to that...
then find a file with .mobileprovision extension.
Remember you won't find this if you're building with simulator, because simulators, don't need provisioning profiles.
How to see what's inside?
Either just use Preview or see detailed instructions from Dev Forums - Quinn on how to dump it. e.g.
$ security cms -D -i ~/Library/MobileDevice/Provisioning\ Profiles/8d04addd-d7f5-4872-bd48-f6885bb67433.mobileprovision

Where they have been for older versions of Xcode:
~/Library/MobileDevice/Provisioning\ ProfilesProvisioning profiles are not stored with the project. Xcode has a common area and the profile is pulled when you build and bundled with the ipa.