Re: build problems with multiple targets
Re: build problems with multiple targets
- Subject: Re: build problems with multiple targets
- From: "Brent Gulanowski" <email@hidden>
- Date: Fri, 4 Jan 2008 10:45:34 -0500
Did you (forget to) add the class implementation (class.m) file to the CMI target?
On Jan 3, 2008 2:58 PM, Aaron Vegh <
email@hidden> wrote:
Hi there,
I'm building a Cocoa application with a companion Contextual Menu
Item. My impression is that the best way is to have two targets in my
project, so the CMI can leverage the code that I'm using in my Cocoa
app. I've renamed my Carbon-based file with a ".m" to allow for the
Cocoa-Carbon Integration (as per the guide), and written a wrapper
function in the Carbon file. I #import'd my Cocoa class that I want
the wrapped function to access. But now I'm getting errors such as
[MyObject myObjectFunction:] in MyObject.o
symbol(s) not found
collect2: ld returned 1 exit status
This suggests to me that I haven't properly told XCode where to find
the class file. However, I've done everything I could find in the
manual: I have done Get Info on the class file and added its
membership to the CMI target. I'm really at a loss here, so any help
would be appreciated!
Cheers,
Aaron.
--
Aaron Vegh, Principal
Innoveghtive Inc.
P: (647) 477-2690
C: (905) 924-1220
www.innoveghtive.com
www.website-in-a-day.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
--
Brent Gulanowski
_______________________________________________
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