• 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: Symbol not found _OBJC_CLASS_ when launching app in 64 bit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Symbol not found _OBJC_CLASS_ when launching app in 64 bit


  • Subject: Re: Symbol not found _OBJC_CLASS_ when launching app in 64 bit
  • From: Quincey Morris <email@hidden>
  • Date: Mon, 22 Jun 2015 00:32:06 +0000

On Jun 21, 2015, at 16:07 , Nick Blievers <email@hidden> wrote:

To avoid this you need to use something like NSClassFromString, so that all references to the object are dynamic.

I think this is not the complete story. Automatic weak linking of frameworks works for OS X now, and my vague recollection is that it was introduced mid-major-version of OS X, perhaps at 10.6.8. (Again I don’t recall, but it may have only been introduced for the new non-fragile ABI, which is probably why the 32-bit version has different behavior.)

Therefore, it’s possible that setting the deployment target to 10.6.8 will resolve the issue, assuming Xcode knows what it’s doing. (Of course, that cuts the app off from earlier 10.6 users, but so much changed and got fixed at 10.6.8, that these users really ought to have upgraded.) Alternatively, manually forcing the framework to be weak-linked might allow the current code to work back to 10.6.0.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Symbol not found _OBJC_CLASS_ when launching app in 64 bit
      • From: Nick Blievers <email@hidden>
References: 
 >Symbol not found _OBJC_CLASS_ when launching app in 64 bit (From: Eyal Redler <email@hidden>)
 >Re: Symbol not found _OBJC_CLASS_ when launching app in 64 bit (From: Nick Blievers <email@hidden>)
 >Re: Symbol not found _OBJC_CLASS_ when launching app in 64 bit (From: Eyal Redler <email@hidden>)
 >Re: Symbol not found _OBJC_CLASS_ when launching app in 64 bit (From: Nick Blievers <email@hidden>)

  • Prev by Date: Re: Symbol not found _OBJC_CLASS_ when launching app in 64 bit
  • Next by Date: Re: Symbol not found _OBJC_CLASS_ when launching app in 64 bit
  • Previous by thread: Re: Symbol not found _OBJC_CLASS_ when launching app in 64 bit
  • Next by thread: Re: Symbol not found _OBJC_CLASS_ when launching app in 64 bit
  • Index(es):
    • Date
    • Thread