• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: build problems with multiple targets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >build problems with multiple targets (From: "Aaron Vegh" <email@hidden>)
 >Re: build problems with multiple targets (From: "Brent Gulanowski" <email@hidden>)
 >Re: build problems with multiple targets (From: "Aaron Vegh" <email@hidden>)

  • Prev by Date: Re: Bizzarre CFSTR behavior
  • Next by Date: Re: Bizzarre CFSTR behavior
  • Previous by thread: Re: build problems with multiple targets
  • Next by thread: Problems linking against my own libs..
  • Index(es):
    • Date
    • Thread