Skip to content

Instantly share code, notes, and snippets.

@tokorom
Created September 27, 2013 07:05
Show Gist options
  • Save tokorom/6725071 to your computer and use it in GitHub Desktop.
Save tokorom/6725071 to your computer and use it in GitHub Desktop.
AppStore相当のバイナリ確認手順
1. In the Xcode Organizer, instead of Submit to the iOS App Store, do Save for Enterprise or Ad-Hoc Deployment. That will create a local copy of the .ipa file that would be submitted to the App Store.
2. When asked to choose an identity to sign with, select the same distribution identity you use when submitting to the App Store.
3. When asked to save the package, uncheck Save for Enterprise Distribution, then save the .ipa file.
4. Find the .ipa file and change its extension to .zip.
5. Expand the .zip file. That will produce a Payload folder containing your app bundle.
6. Use the codesign tool to check the entitlements on the app bundle like this:
$ codesign -d --entitlements :- "Payload/YourApp.app"
where YourApp.app is the actual name of your app bundle.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment