Re: Linking errors after upgrading to XCode 3.2
Re: Linking errors after upgrading to XCode 3.2
- Subject: Re: Linking errors after upgrading to XCode 3.2
- From: Clark Cox <email@hidden>
- Date: Fri, 2 Jul 2010 21:18:06 -0700
I'd guess that you're:
1) Using a static library that was built with an earlier version of the tools
and
2) Using the Simulator.
You will need a version of the library built with the current version
of the tools.
On Thu, Jul 1, 2010 at 2:17 AM, Kin Mak <email@hidden> wrote:
>
> I have just downloaded and upgraded/installed XCode 3.2.3. Afterwards, I
> tried to build my project that was built successfully on XCode 3.1
> However, XCode 3.2 produced tons of linking errors as shown below. It seems
> that somehow the linker could not find the Foundation and UIKit frameworks.
> I double checked that they are actually in place and were set up properly in
> my project.
> Undefined symbols:
> "_objc_exception_extract", referenced from:
> +[FourSquareImageManager sharedInstance] in FourSquareImageManager.o
> +[FourSquareLocationManager allocWithZone:] in
> FourSquareLocationManager.o
> ".objc_class_name_UIImage", referenced from:
> literal-pointer@__OBJC@__cls_refs@UIImage in FourSquareURLImage.o
> literal-pointer@__OBJC@__cls_refs@UIImage in
> FourSquareMapViewController.o
> ".objc_class_name_NSNotificationCenter", referenced from:
> literal-pointer@__OBJC@__cls_refs@NSNotificationCenter in
> FourSquareMapViewController.o
> literal-pointer@__OBJC@__cls_refs@NSNotificationCenter in
> FourSquareCoreViewController.o
> literal-pointer@__OBJC@__cls_refs@NSNotificationCenter in
> FourSquareLocationManager.o
> ".objc_class_name_UITableViewController", referenced from:
> .objc_class_name_RootViewController in RootViewController.o
> .objc_class_name_FourSquareListViewController in
> FourSquareListViewController.o
> .objc_class_name_FourSquareSettingsViewController in
> FourSquareSettingsViewController.o
>
> I am wondering I need to set up some linker flags. Has anyone encountered
> this kind of linking issues after upgrading from XCode 3.1 to 3.2.
> Does anyone know how to fix them?
> Any tips will be highly appreciated.
>
> Best Regards
> Kin Mak
> _______________________________________________
> 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
>
--
Clark S. Cox III
email@hidden
_______________________________________________
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