Skip to content

Instantly share code, notes, and snippets.

@larryhou
Created March 19, 2020 12:01
Show Gist options
  • Select an option

  • Save larryhou/a438b3427bc5937448c8fc644566b5e0 to your computer and use it in GitHub Desktop.

Select an option

Save larryhou/a438b3427bc5937448c8fc644566b5e0 to your computer and use it in GitHub Desktop.
//Print which signing certificates are on computer
security find-identity -v -p codesigning

//Print what was used to codesign an app
codesign -vv -d Example.app

//Print what entitlements are enabled for app
codesign -d --entitlements - Example.app
//Since Xcode 6, the entitlements list you specify is also embedded in the app bundle as Example.app.xcent

//Decode a provisioning profile into a human readable plist
security cms -D -i example.mobileprovision

//View info on attached devie
ideviceinfo

//Show trusted devices
idevicepair list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment