Where are the Provisioning Profiles located in Xcode 8.3.3 within the project and/or file directory?
-
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...– mfaaniAug 25, 2020 at 14:44
3 Answers
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.
-
so
ipa = project + provisioning profile
or there are other things added to it?– mfaaniFeb 22, 2019 at 15:39 -
The .ipa is essentially a .zip file with the compiled application with an embedded provisioning profile.– wottleFeb 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.– wottleJan 17, 2020 at 15:02
-
3
- Go to the Finder
- From the “Go” menu navigate down to “Go to Folder”
or - Hit Command+Shift+G from the Mac OS X desktop or a Finder window
- Search below Path
~/Library/MobileDevice/Provisioning Profiles
-
1took me a while to find the go to folder option had to 2 finger click the finder icon May 24, 2021 at 7:03
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
-
Are you sure this is the correct answer according to the question?! Jul 6, 2021 at 17:04
-
1Chera 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...– mfaaniJul 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 anipa
file but it seems the question point to the local path. Jul 6, 2021 at 17:26