Re: OS X 10.8 Security & Applescripts - "unidentified developer"
Re: OS X 10.8 Security & Applescripts - "unidentified developer"
- Subject: Re: OS X 10.8 Security & Applescripts - "unidentified developer"
- From: Todd V <email@hidden>
- Date: Fri, 10 Aug 2012 21:26:29 -0700
I realized I was not removing write permissions from main.scpt but from the main .app itself. But I just removed write permissions from main.scpt before signing - using "chmod a-w" and then codesigning. I'm still getting the same error on Mountain Lion - "this file is damaged, You should move to trash."
I remember watching a tutorial about making sure to specify the bundleIdentifier in Info.plist before signing (so they match). Does it matter what I'm typing into the bundleIdentifer field in info.plist? How could I check this? Also, is there anything else I need in Info.plist I might be missing?
On Aug 10, 2012, at 7:44 PM, Shane Stanley wrote:
> On 11/08/2012, at 12:09 PM, Todd V <email@hidden> wrote:
>
>> Any thoughts on what I'm doing wrong? Am I missing a step?
>
> Did you remove write permissions from main.scpt before signing?
>
> One of the complications with AS is that scripts normally get written back to disk after running, to make properties persist. That's obviously not going to work with codesigning, so you have to stop it. You also have to write your scripts with lack of property persistence in mind.
>
> --
> Shane Stanley <email@hidden>
> 'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
>
>
> _______________________________________________
> 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
_______________________________________________
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