Is there a way to view your app's .entitlements file from your app's .ipa archive?

夙愿已清 提交于 2019-12-02 23:31:24

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>

LordT

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"
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!