161

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

1
  • as a side note, assuming you're in the desired 'dev team' and have the correct access you should always be able to download provisioning profiles from developer portal. By correct access I mean some devs only have access to Development Provisioning Profiles, others have access to Distribution Provisioning Profiles...
    – mfaani
    Aug 25, 2020 at 14:44

3 Answers 3

234

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.

5
  • so ipa = project + provisioning profile or there are other things added to it?
    – mfaani
    Feb 22, 2019 at 15:39
  • The .ipa is essentially a .zip file with the compiled application with an embedded provisioning profile.
    – wottle
    Feb 22, 2019 at 18:26
  • Given its not stored with the project, how do push notifications work without the profile on another developer's machine? Jan 16, 2020 at 5:55
  • The push notification certificate is needed on the server that sends the push notifications to Apple's APNS server. If you wanted multiple servers to be able to do so, you're have to copy the private key and cert to each server. This question is about the provisioning profile for running the app. If manually manage your code signing, you'd need to export the private key for the cert associated with the provisioning profile and import it onto the other developer's machine.
    – wottle
    Jan 17, 2020 at 15:02
  • 3
    Still there for XCode 11.5 in 2020.
    – Ben Butzer
    Jul 20, 2020 at 18:42
147
  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

1
  • 1
    took me a while to find the go to folder option had to 2 finger click the finder icon May 24, 2021 at 7:03
-3

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
3
  • Are you sure this is the correct answer according to the question?! Jul 6, 2021 at 17:04
  • 1
    Chera javabesh nist? I mean it's asking where is it stored, and I'm giving an answer for a very specific case only. That is when you build into a real device, then the provisioning profile can also be found on the device...
    – mfaani
    Jul 6, 2021 at 17:18
  • Na baba :)), Of course, there are various ways in order to achieve mobileprovision for instance you can find it in an ipa file but it seems the question point to the local path. Jul 6, 2021 at 17:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.