Re: Crash when 'open POSIX file /..' from AppleScript
Re: Crash when 'open POSIX file /..' from AppleScript
- Subject: Re: Crash when 'open POSIX file /..' from AppleScript
- From: Jean-Daniel Dupas <email@hidden>
- Date: Mon, 14 Dec 2009 19:38:28 +0100
Le 14 déc. 2009 à 19:13, Sean McBride a écrit :
> On 12/12/09 11:12 PM, Jerry Krinock said:
>
>> Working on a Core Data document-based app. Executing the following
>> AppleScript:
>>
>> tell application "MyApp"
>> open POSIX file "/path/to/SomeDocument"
>> end tell
>>
>> results in program receiving signal EXC_BAD_ACCESS here
>
> This works in my NSPersistentDocument-based app. Like you, I have no
> particular AppleScript support. Have you tried with a fresh app built
> from stationary?
Which OS version ?
On 10.5 there was a bug that cause this kind of crash if the sdef file specified in the Info.plist does not exists.
I didn't try on last 10.5 releases but look like it is fixed on 10.6.
-- Jean-Daniel
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden