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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to