• 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: Nick Blievers <email@hidden>
  • Date: Sun, 21 Jun 2015 19:38:22 -0500
  • Acceptlanguage: en-US
  • Thread-topic: Symbol not found _OBJC_CLASS_ when launching app in 64 bit


On 22 Jun 2015, at 10:32 am, Quincey Morris <email@hidden> wrote:

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.

Hmm, I completely forgot about that and just defaulted to the manual way of doing things. You are right, automatic weak linking should cover it.

I’ll stfu now :)


Nick

 _______________________________________________
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: Roland King <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>)
 >Re: Symbol not found _OBJC_CLASS_ when launching app in 64 bit (From: Quincey Morris <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