• 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
[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


  • Subject: Re: 10.6 Base, 10.5 Target, runs fine on everything except Intel 10.5
  • From: Steve Christensen <email@hidden>
  • Date: Tue, 09 Mar 2010 14:45:31 -0800

The class NSRunningApplication only exists on 10.6 and later. Are you doing a runtime check before using it?

Class nsRunningAppClass = NSClassFromString(@"NSRunningApplication");

if (nsRunningAppClass != NULL)
{
// 10.6 case...
NSRunningApplication* currentApplication = [nsRunningAppClass currentApplication];
...
}
else
{
// 10.5 case...
}




On Mar 9, 2010, at 2:30 PM, Steve Mykytyn wrote:

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 PPC 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

_______________________________________________

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


  • Follow-Ups:
    • Re: 10.6 Base, 10.5 Target, runs fine on everything except Intel 10.5
      • From: Steve Mykytyn <email@hidden>
References: 
 >10.6 Base, 10.5 Target, runs fine on everything except Intel 10.5 (From: Steve Mykytyn <email@hidden>)

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