[Ham-Mac] XCode question
[email protected]
[email protected]
Tue, 28 Oct 2003 23:29:52 -0600
On Oct 28, 2003, at 9:09 PM, Sergei Ludanov wrote:
> I have a strange problem. Well, I think it is strange. When I run
> built application from within XCode (does not matter which, I created
> empty Cocoa project, compiled and tried to run just in case) on one
> out of 3 machines (and it happened to be my favorite - G4 Cube), I
> get the following error:
>
> <<dyld:
> /Users/kd6cji/Desktop/NBTVCam1017/build/NBTVCam.app/Contents/MacOS/
> NBTVCam Undefined symbols:
> Foundation undefined reference to _objc_exception_set_functions
> expected to be defined in
> /System/Library/PrivateFrameworks/ZeroLink.framework/Versions/A/
> Resources/libobjc.A.dylib
See the reference to ZeroLink?
That means you compiled a program in XCode to use ZeroLink, and it
won't run outside of XCode because it isn't really linked to the
frameworks properly. Turn off ZeroLink in the target settings and build
styles when you build for deployment.
To set/clear this, highlight your project in Xcode (the one with the
blue xcode type icon in the Groups & Files list), and do a CMD-I to
open the Info panel. In that window, click the Styles tab and set it to
Deployment instead of Development. At the very least, turn off ZeroLink
and see if it fixes your problem.
-. ----. -.-- - -.--
Steve Palm - [email protected]
-. ----. -.-- - -.--