• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: codesigning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >codesigning (From: Luther Fuller <email@hidden>)
 >Re: codesigning (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: Please Test ยป Safari Save Problem
  • Next by Date: Smile PDF Drawing dpi question
  • Previous by thread: Re: codesigning
  • Next by thread: Smile PDF Drawing dpi question
  • Index(es):
    • Date
    • Thread