• 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_$_NSObject
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Symbol not found: _OBJC_CLASS_$_NSObject


  • Subject: Re: Symbol not found: _OBJC_CLASS_$_NSObject
  • From: Todd Heberlein <email@hidden>
  • Date: Wed, 30 Jan 2013 14:50:33 -0800

On Jan 30, 2013, at 9:52 AM, Todd Heberlein <email@hidden> wrote:

> Checked the Log Navigator and searched for any references to 10.8.  None.
> All 28 references to -mmacosx-version-min were to 10.7
>
> Any other suggestions?  I am linking to libxml2.dylib and libcurl.dylib. Could these be introducing problems?

Got it !!!

When I added the new "Copy Files" build phase, and then dragged my frameworks into the file area (to embed my private frameworks), I checked "Copy items into destination group's folder (if needed)". This locked in that current version of the build (which probably had 10.8 stuff) which would then be copied into the .app bundle. That is, I literally made a *copy* (duh) which would never change again.

Every subsequent change to my Frameworks (e.g., changing them to build for 10.7) would update their respective Debug or Release folders in the Derived Data, but these changes *never* got copied into the app's bundle. The older compiled code kept getting copied back in.

So… when embedding private frameworks into an app, do *not* check "Copy items into destination group's folder (if needed)".

Todd


_______________________________________________

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: Symbol not found: _OBJC_CLASS_$_NSObject
      • From: Graham Cox <email@hidden>
    • Re: Symbol not found: _OBJC_CLASS_$_NSObject
      • From: Kyle Sluder <email@hidden>
References: 
 >Symbol not found: _OBJC_CLASS_$_NSObject (From: Todd Heberlein <email@hidden>)
 >Re: Symbol not found: _OBJC_CLASS_$_NSObject (From: Greg Parker <email@hidden>)
 >Re: Symbol not found: _OBJC_CLASS_$_NSObject (From: Todd Heberlein <email@hidden>)

  • Prev by Date: Re: Sandbox Clarification
  • Next by Date: Re: Symbol not found: _OBJC_CLASS_$_NSObject
  • Previous by thread: Re: Symbol not found: _OBJC_CLASS_$_NSObject
  • Next by thread: Re: Symbol not found: _OBJC_CLASS_$_NSObject
  • Index(es):
    • Date
    • Thread