Re: codesigning
Re: codesigning
- Subject: Re: codesigning
- From: Luther Fuller <email@hidden>
- Date: Thu, 08 Mar 2012 11:38:06 -0600
On Mar 8, 2012, at 5:45 AM, Axel Luttgens wrote: Looks like codesign is outputting to stderr. You could for example redirect stderr to stdout, as in:
do shell script "codesign -d -vvv /Applications/Calculator.app 2>&1"
So, I tried that and it worked. I'm now using this ...
property testAppl : alias "OS_X:Users:lutherfuller:Desktop:codesign_test:Calculator.app" on run try do shell script "codesign -dvvvv " & (quoted form of (POSIX path of testAppl)) & " 2>&1" log the result & return on error errText number errNr "Error = " & errNr & return & errText display dialog the result end try beep end run
If I modify the Info.plist file in Calculator.app (which is why I'm using a copy), I get an error. However, making changes within the Resources folder (added a new folder) does not cause an error. I suppose the next step is to try to codesign an application and see what happens.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden