Re: build problems with multiple targets
Re: build problems with multiple targets
- Subject: Re: build problems with multiple targets
- From: Andrew Pontious <email@hidden>
- Date: Fri, 4 Jan 2008 09:18:17 -0800
On Jan 4, 2008, at 8:18 AM, Aaron Vegh wrote:
Hi Brent,
Thanks for the reply! I'm starting to think there's no hope... :-P
Did you (forget to) add the class implementation (class.m) file to
the CMI
target?
I don't believe I have forgotten. Here's what I've done in XCode:
1. Select the MyObject.m file, choose Get Info.
2. Under Targets, choose the CMI target (the primary Cocoa target is
already chosen).
I've done much digging through the docs, and I'm having no luck. I've
tried adding a build stage for "copying headers", because in my CMI
code I'm actually #import-ing "MyObject.h" [snip]
You've got a linker problem:
[MyObject myObjectFunction:] in MyObject.o
symbol(s) not found
collect2: ld returned 1 exit status
If it had to do with the headers, you'd have a compile problem.
Are you sure you've defined myObjectFunction: ?
-- Andrew
_______________________________________________
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