Weak Linking Frameworks in Xcode 3.0
Weak Linking Frameworks in Xcode 3.0
- Subject: Weak Linking Frameworks in Xcode 3.0
- From: Nick Nallick <email@hidden>
- Date: Tue, 4 Dec 2007 12:13:31 -0700
I have a project created with Xcode 2.x under Tiger that I've upgraded
to Xcode 3 in Leopard. It weak links a couple frameworks to allow the
app to launch on 10.3.9. This all worked fine when built under
Tiger. When I build with Xcode 3 under Leopard and launch the app on
10.3.9 I get a number of dyld errors of the form:
undefined reference to .objQuartzCore
The app launches fine under Tiger and Leopard. I'm specifying the
weak link by adding statements like the following to the "Other Linker
Flags" build setting.
-weak_framework QuartzCore
How do I make this work with Xcode 3? FWIW, all of my errors seem to
occur when loading Obj-C elements of QuartzCore.
Thanks,
Nick Nallick
_______________________________________________
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