You tried two commands. The first one:
codesign -d --entitlements - entitlements.plist /path/to/.app/
fails because you’re specifying both -
and entitlements.plist
. The argument after --entitlements
tell it where to write the result. A value of -
means stdout
. You can’t then supply a second value of entitlements.plist
.
The second one:
codesign -d --entitlements - --xml entitlements.plist /path/to/.app/
fails for similar reasons, although in this case you’ve also inserted an independent option, --xml
, between --entitlements
and its argument.
I recommend that you have a read through the codesign
man page. Also, the above is pretty standard Unix command line stuff. If that’s foreign to you, you might want to look for a tutorial on the Unix shell. If you enter unix shell tutorial into your search engine of choice, it’ll bring up a bunch of good options.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"