• 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: 10.6 Base, 10.5 Target, runs fine on everything except Intel 10.5 (repost)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 10.6 Base, 10.5 Target, runs fine on everything except Intel 10.5 (repost)


  • Subject: Re: 10.6 Base, 10.5 Target, runs fine on everything except Intel 10.5 (repost)
  • From: Clark Cox <email@hidden>
  • Date: Tue, 9 Mar 2010 15:12:18 -0800

On Tue, Mar 9, 2010 at 2:36 PM, Steve Mykytyn <email@hidden> 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
email@hidden
_______________________________________________

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

References: 
 >10.6 Base, 10.5 Target, runs fine on everything except Intel 10.5 (repost) (From: Steve Mykytyn <email@hidden>)

  • Prev by Date: Re: 10.6 Base, 10.5 Target, runs fine on everything except Intel 10.5
  • Next by Date: Re: 10.6 Base, 10.5 Target, runs fine on everything except Intel 10.5
  • Previous by thread: 10.6 Base, 10.5 Target, runs fine on everything except Intel 10.5 (repost)
  • Next by thread: NSObjectController Selection Delay
  • Index(es):
    • Date
    • Thread