• 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: Newbie Q: SenTestCase linking problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie Q: SenTestCase linking problem


  • Subject: Re: Newbie Q: SenTestCase linking problem
  • From: Chris Hanson <email@hidden>
  • Date: Wed, 14 Nov 2007 09:05:44 -0800

On Nov 14, 2007, at 4:05 AM, Tom Davies wrote:

Undefined symbols:
 ".objc_class_name_Eddy", referenced from:
     literal-pointer@__OBJC@__cls_refs@Eddy in TestEddy.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
		  ".objc_class_name_Eddy", referenced from:
		      literal-pointer@__OBJC@__cls_refs@Eddy in TestEddy.o
		ld: symbol(s) not found
		collect2: ld returned 1 exit status
Build failed (1 error)

What have I done wrong?

You need to link your test bundle against your library. Target dependencies are orthogonal to linking.


  -- Chris


_______________________________________________ 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
  • Follow-Ups:
    • Re: Newbie Q: SenTestCase linking problem
      • From: Tom Davies <email@hidden>
References: 
 >Newbie Q: SenTestCase linking problem (From: Tom Davies <email@hidden>)

  • Prev by Date: Linking 64 bit app against vDSP other Accelerate libraries?
  • Next by Date: Re: Where did the Clear Log button go in Xcode 3
  • Previous by thread: Newbie Q: SenTestCase linking problem
  • Next by thread: Re: Newbie Q: SenTestCase linking problem
  • Index(es):
    • Date
    • Thread