Re: Symbol not found: _OBJC_CLASS_$_NSObject

2013-01-30 Thread Quincey Morris
On Jan 30, 2013, at 17:10 , Kyle Sluder wrote: > But I can indeed offer some helpful information: when you add a target > to Xcode, it creates a proxy icon for that target's product in the > Products group of the sidebar. This proxy icon is special! Whenever you > want to refer to this build prod

Re: Symbol not found: _OBJC_CLASS_$_NSObject

2013-01-30 Thread Kyle Sluder
On Wed, Jan 30, 2013, at 04:41 PM, Quincey Morris wrote: > Where are your private frameworks coming from? > > In Todd's case, the frameworks were built separately (AFAICT) and merely > made available to the main project for linking. In my case, the > frameworks were built by a second project in a

Re: Symbol not found: _OBJC_CLASS_$_NSObject

2013-01-30 Thread Quincey Morris
On Jan 30, 2013, at 16:32 , Kyle Sluder wrote: > Unless there's some aspect of our build system that I'm just not seeing, > our frameworks don't belong to a Copy Files phase, yet they wind up > inside the app. Where are your private frameworks coming from? In Todd's case, the frameworks were bu

Re: Symbol not found: _OBJC_CLASS_$_NSObject

2013-01-30 Thread Kyle Sluder
On Wed, Jan 30, 2013, at 04:00 PM, Quincey Morris wrote: > On Jan 30, 2013, at 15:29 , Kyle Sluder wrote: > > > You should never need to manually add a framework to a Copy Files phase. > > Adding the framework to your app target's Link with Libraries phase via > > the "plus" button either the Sum

Re: Symbol not found: _OBJC_CLASS_$_NSObject

2013-01-30 Thread Graham Cox
On 31/01/2013, at 9:50 AM, Todd Heberlein wrote: > 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

Re: Symbol not found: _OBJC_CLASS_$_NSObject

2013-01-30 Thread Quincey Morris
On Jan 30, 2013, at 15:29 , Kyle Sluder wrote: > You should never need to manually add a framework to a Copy Files phase. > Adding the framework to your app target's Link with Libraries phase via > the "plus" button either the Summary or Build Phases tab of the Project > editor should cause the f

Re: Symbol not found: _OBJC_CLASS_$_NSObject

2013-01-30 Thread Kyle Sluder
On Wed, Jan 30, 2013, at 02:50 PM, Todd Heberlein wrote: > 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

Re: Symbol not found: _OBJC_CLASS_$_NSObject

2013-01-30 Thread Todd Heberlein
On Jan 30, 2013, at 9:52 AM, Todd Heberlein 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 prob

Re: Symbol not found: _OBJC_CLASS_$_NSObject

2013-01-30 Thread Todd Heberlein
On Jan 29, 2013, at 6:26 PM, Greg Parker wrote: > likely your Deployment Target setting is incorrect somewhere in > NetSQExtensions.framework's build. > > Double-check your build settings; make sure the setting is correct for all of > your targets and files. Look in your build transcripts an

Re: Symbol not found: _OBJC_CLASS_$_NSObject

2013-01-29 Thread Greg Parker
; >> Application Specific Information: >> dyld: launch, loading dependent libraries >> >> Dyld Error Message: >> Symbol not found: _OBJC_CLASS_$_NSObject >> Referenced from: >> /Users/USER/Desktop/LogBrowser.app/Contents/MacOS/../Frameworks/NetSQExtensio

Symbol not found: _OBJC_CLASS_$_NSObject

2013-01-29 Thread Todd Heberlein
yld Error Message: > Symbol not found: _OBJC_CLASS_$_NSObject > Referenced from: > /Users/USER/Desktop/LogBrowser.app/Contents/MacOS/../Frameworks/NetSQExtensions.framework/Versions/A/NetSQExtensions > Expected in: /usr/lib/libobjc.A.dylib > in > /Users/USER/Desktop/LogBrows

Re: Symbol not found when compiling MM (ObjC++) file

2011-08-05 Thread Kyle Sluder
More useful info lives here: http://www.parashift.com/c++-faq-lite/mixing-c-and-cpp.html --Kyle Sluder On Aug 5, 2011, at 7:57 AM, Alexander Hartner wrote: > I am constructing a framework consisting of C++, ObjectiveC and ObjectiveC++ > files. As part of the framework I have created a wrapper

Re: Symbol not found when compiling MM (ObjC++) file

2011-08-05 Thread Kyle Sluder
On Aug 5, 2011, at 7:57 AM, Alexander Hartner wrote: > > Logger.h > > #import > void ABSLogToggle (BOOL debug); > void ABSLog (NSString *format,...); [snip] > > Now when I import Logger.h and use it from a Objective C (.m) file everything > seems to work great. However as soon I as import

Re: Symbol not found when compiling MM (ObjC++) file

2011-08-05 Thread Stephen J. Butler
On Fri, Aug 5, 2011 at 9:57 AM, Alexander Hartner wrote: > Now when I import Logger.h and use it from a Objective C (.m) file everything > seems to work great. However as soon I as import it and use it from a > Objective C++ (.mm) file I get the following link error: > > Ld [REMOVED] normal i386

Symbol not found when compiling MM (ObjC++) file

2011-08-05 Thread Alexander Hartner
I am constructing a framework consisting of C++, ObjectiveC and ObjectiveC++ files. As part of the framework I have created a wrapper around NSLog so I can control and disable log messages centrally. I know there are better ways to do this, however right now I need to get this working and don't

Re: Symbol not found: _OBJC_CLASS_$_NSURL

2011-08-04 Thread koko
I just did a >> new build changing nothing related to NSURL. >> >> Now when this user runs the app she gets this message: >> >> Dyld Error Message: >> Symbol not found: _OBJC_CLASS_$_NSURL >> Referenced from: /Applications/Convert It Mac.app/Contents/MacOS/

Re: Symbol not found: _OBJC_CLASS_$_NSURL

2011-08-04 Thread Jean-Daniel Dupas
Le 4 août 2011 à 18:46, koko a écrit : > My App has run on this users machine for quite some time now. I just did a > new build changing nothing related to NSURL. > > Now when this user runs the app she gets this message: > > Dyld Error Message: > Symbol not found

Symbol not found: _OBJC_CLASS_$_NSURL

2011-08-04 Thread koko
My App has run on this users machine for quite some time now. I just did a new build changing nothing related to NSURL. Now when this user runs the app she gets this message: Dyld Error Message: Symbol not found: _OBJC_CLASS_$_NSURL Referenced from: /Applications/Convert It Mac.app/Contents

Re: Symbol not found

2011-03-16 Thread koko
Thanks so much for all these informative answers! -koko On Mar 16, 2011, at 5:29 PM, Nick Zitzmann wrote: > > On Mar 16, 2011, at 5:08 PM, koko wrote: > >> A customer running 10.5.8 gets this message when launching my app. >> >> Dyld Error Message: >> Symb

Re: Symbol not found

2011-03-16 Thread Nick Zitzmann
On Mar 16, 2011, at 5:08 PM, koko wrote: > A customer running 10.5.8 gets this message when launching my app. > > Dyld Error Message: > Symbol not found: _OBJC_CLASS_$_NSURL > Referenced from: /Applications/Convert It Mac.app/Contents/MacOS/Convert It > Mac > Expected i

Re: Symbol not found

2011-03-16 Thread Stephen J. Butler
On Wed, Mar 16, 2011 at 6:08 PM, koko wrote: > A customer running 10.5.8 gets this message when launching my app. > > Dyld Error Message: > Symbol not found: _OBJC_CLASS_$_NSURL > Referenced from: /Applications/Convert It Mac.app/Contents/MacOS/Convert It > Mac > Expected

Symbol not found

2011-03-16 Thread koko
A customer running 10.5.8 gets this message when launching my app. Dyld Error Message: Symbol not found: _OBJC_CLASS_$_NSURL Referenced from: /Applications/Convert It Mac.app/Contents/MacOS/Convert It Mac Expected in: /System/Library/Frameworks/CoreFoundation.framework/Versions/A

Re: Base SDK 10.6 deployment target 10.5 - symbol not found

2011-01-11 Thread Kenneth Baxter
Thanks for that link Kyle, from that reference it appears that it is not possible to weak link classes in MacOS X, so the only way to use my subclasses of CAShapeLayer would be to move them all to a separate bundle and only load that bundle when running on 10.6.  Something I wondered about was

Re: Base SDK 10.6 deployment target 10.5 - symbol not found

2011-01-11 Thread Kyle Sluder
On Tue, Jan 11, 2011 at 10:40 AM, Wim Lewis wrote: > You might be able to weakly link the class, in which case dyld will not > complain but messages to CAShapeLayer will return nil. I don't remember on > which OS revs it became possible to weak link a class, though. (Weak linking > C symbols ha

Re: Base SDK 10.6 deployment target 10.5 - symbol not found

2011-01-11 Thread Wim Lewis
m on > 10.5, it gives me the error: > > dyld: Symbol not found: _OBJC_CLASS_$_CAShapeLayer > > What is the proper way to handle situations where a whole class is missing in > the earlier SDK like this? The documentation doesn't seem to address this > scenario as far a

Base SDK 10.6 deployment target 10.5 - symbol not found

2011-01-10 Thread Kenneth Baxter
6 and an alternate version based on NSViews in 10.5. My logic says it is not going to call the CAShapeLayer, but it appears that it has been linked in to the application anyway, so when I try to run the program on 10.5, it gives me the error: dyld: Symbol not found: _OBJC_CLASS_$_CAShapeLayer  Wha

Re: Workaround for "Symbol not found: _SCDynamicStoreCreate" on 10.4?

2010-08-27 Thread Sidney San Martín
When I link to >>> the System Configuration framework and IOKit, and target 10.4, calling >>> some SystemConfiguration framework functions crashes my application >>> with "Symbol not found: _SCDynamicStoreCreate". >>> >>> This happens if I use a

Re: Workaround for "Symbol not found: _SCDynamicStoreCreate" on 10.4?

2010-08-23 Thread Greg Parker
so far. >> >> I just ran into an issue I can't figure out on my own. When I link to >> the System Configuration framework and IOKit, and target 10.4, calling >> some SystemConfiguration framework functions crashes my application >> with "Symbol not found:

Re: Workaround for "Symbol not found: _SCDynamicStoreCreate" on 10.4?

2010-08-23 Thread Greg Parker
out on my own. When I link to > the System Configuration framework and IOKit, and target 10.4, calling > some SystemConfiguration framework functions crashes my application > with "Symbol not found: _SCDynamicStoreCreate". > > This happens if I use any base SDK newer than 10.

Workaround for "Symbol not found: _SCDynamicStoreCreate" on 10.4?

2010-08-23 Thread Sidney San Martín
and target 10.4, calling some SystemConfiguration framework functions crashes my application with "Symbol not found: _SCDynamicStoreCreate". This happens if I use any base SDK newer than 10.4, which is a bad thing for this project. Here's a minimal test case, if you want to play alon

Re: x86_64 "Symbol not found" problem

2009-08-30 Thread Donnie Lee
gin bundle for an application. I >> compile my plugin under Snow Leopard with "-undefined dynamic_lookup" >> option, because it uses classes from a main app. While I compile it as >> 32-bit all works OK (both plugin and app runs in 32-bit mode), but >> when I compile it

Re: x86_64 "Symbol not found" problem

2009-08-30 Thread Jean-Daniel Dupas
oth plugin and app runs in 32-bit mode), but when I compile it as x86_64 I got load-time error: "Error loading ... Symbol not found: ... Expected in: flat namespace ..." How to make it work? To compile a bundle, you should not use '-undefined dynamic_lookup', but '-

x86_64 "Symbol not found" problem

2009-08-30 Thread Donnie Lee
I compile it as x86_64 I got load-time error: "Error loading ... Symbol not found: ... Expected in: flat namespace ..." How to make it work? Regards, Donnie ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin r

Re: Symbol not found error

2008-12-09 Thread Sean McBride
Daniel Luis dos Santos ([EMAIL PROTECTED]) on 2008-12-10 7:38 PM said: >I am getting this error over and over again, whenever I do a new >target in some place and then try to use it somewhere else. >I have a dynamic library in a project that is used in another project. >Then I added another dynam

Symbol not found error

2008-12-09 Thread Daniel Luis dos Santos
Hello, I am getting this error over and over again, whenever I do a new target in some place and then try to use it somewhere else. I have a dynamic library in a project that is used in another project. Then I added another dynamic library to the first one which is also used by the second