Re: Release build problem
Re: Release build problem
- Subject: Re: Release build problem
- From: Jean-Daniel Dupas <email@hidden>
- Date: Sun, 21 Sep 2008 01:05:38 +0200
Le 21 sept. 08 à 00:58, D.K. Johnston a écrit :
I found that if I checked "Build Active Architecture Only" in the
Release configuration, the error disappeared; which I guess explains
why there was no problem in the Debug configuration. But with this
setting unchecked, the link fails, with this same error:
".objc_class_name_MyClass", referenced from:
literal-pointer@__OBJC@__cls_refs@MyClass in MyApp.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
I've searched the archives for "collect2: ld returned" and got many
many hits; but so far nothing that seems to fit my problem.
Any help would be greatly appreciated.
You static library is not an universal binary and contains only code
(and symbols) for one architecture.
When you compile using Release configuration (and uncheck Build Active
Arch only), Xcode build for Intel and PPC, but it fails at the link
step of one of your target architecture.
_______________________________________________
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