On Tue, Mar 9, 2010 at 2:36 PM, Steve Mykytyn <smyky...@exostrategy.com> wrote:
> (fumbled the previous post - sorry)
>
> Trying to build an app with base SDK 10.6, target OS 10.5.
>
> everything works fine on Intel 10.6, PPC 10.5, but I get a crash on INTEL 
> 10.5.  Any suggestions?
>
> Exception Type:  EXC_BREAKPOINT (SIGTRAP)
> Exception Codes: 0x0000000000000002, 0x0000000000000000
> Crashed Thread:  0
>
> Dyld Error Message:
>  Symbol not found: 
> _OBJC_CLASS_$_NSRunningApplication_______________________________________________

Somewhere in your application, you've used the NSRunningApplication
class, which doesn't exist on 10.5.

Instead of using that class directly, you need to:

1) Use: NSClassFromString(@"NSRunningApplication") instead of using
NSRunningApplication directly, and
2) be prepared for that function to return nil

-- 
Clark S. Cox III
clarkc...@gmail.com
_______________________________________________

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