Xcode Provisioning Profiles Location

XcodeXcode8Provisioning ProfileApp Signing

Xcode Problem Overview


Where are the Provisioning Profiles located in Xcode 8.3.3 within the project and/or file directory?

Xcode Solutions


Solution 1 - Xcode

Where they have been for older versions of Xcode: ~/Library/MobileDevice/Provisioning\ Profiles

Provisioning 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.

Solution 2 - Xcode

  1. Go to the Finder
  2. From the “Go” menu navigate down to “Go to Folder
    or
  3. Hit Command+Shift+G from the Mac OS X desktop or a Finder window
  4. Search below Path

> ~/Library/MobileDevice/Provisioning Profiles

enter image description here

Solution 3 - Xcode

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

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionJohnView Question on Stackoverflow
Solution 1 - XcodewottleView Answer on Stackoverflow
Solution 2 - XcodeRamprasath SelvamView Answer on Stackoverflow
Solution 3 - XcodemfaaniView Answer on Stackoverflow