I think there's an issue with my app's .entitlements file when a .ipa is created and so I want to check the Bundle ID of the entitlements file. There's a fairly complicated build script I am using to change some stuff in there before building so I want to see what the final product is. I know that there used to be an Entitlements.plist that I could get off of the ipa but it doesn't seem to be there any longer. Is there any way to access the .entitlements file now?
Asked
Active
Viewed 1.9k times
2 Answers
30
For those getting here via Google, the Information Apple provides at https://developer.apple.com/library/ios/qa/qa1798/_index.html is a lot more recent. Specifially, after unzipping the IPA:
Display the entitlements in the app by running:
codesign -d --entitlements :- "Payload/YourApp.app"
and display the provisioning profile by running:
security -D -i "Payload/YourApp.app/embedded.mobileprovision"
-
10in my case 'security -D -i' did not work, I had to use 'security cms -D -i' instead – subzero Apr 29 '15 at 19:08
-
The `codesign` command doesn't seem to work anymore with Big Sur – spartygw Apr 28 '21 at 22:10
18
Sure, unzip the .ipa
file which will create a Payload directory. Inside of the Payload directory is the application package. Right-click the app package in Finder to "Show Package Contents".
Look for the embedded.mobileprovision file which you can open with a text editor or plist editor. Look for the <key>Entitlements</key>

FluffulousChimp
- 9,157
- 3
- 35
- 42
-
My embedded.mobileprovision file just shows a bunch of numbers and no text at all. Is there some other step I need to take to make that human readable? – fjlksahfob Oct 12 '12 at 18:30
-
1The format should be a property list - just verified with one of my ipa's. – FluffulousChimp Oct 13 '12 at 04:49
-
Is your ipa recent? I am fairly certain they used to be plists in the past. I tried renaming my embedded.mobileprovision file to a plist and I got told it was corrupted when I tried to open it. When looking at the 'Kind' of file it was with Get Info, Apple says it's a 'Developer Provisioning Profile.' – fjlksahfob Oct 16 '12 at 18:14
-
Yes, I just went through this process on an app submitted and accepted in the last 2 weeks. – FluffulousChimp Oct 17 '12 at 03:58
-
9
-