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

前端 未结 2 639
無奈伤痛
無奈伤痛 2021-02-04 09:12

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 b

2条回答
  •  甜味超标
    2021-02-04 09:54

    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"
    

提交回复
热议问题