• 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: Unit Testing frameworks problem - 2.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unit Testing frameworks problem - 2.4


  • Subject: Re: Unit Testing frameworks problem - 2.4
  • From: Chris Hanson <email@hidden>
  • Date: Tue, 15 Aug 2006 20:00:59 -0700

On Aug 15, 2006, at 3:30 PM, Byron Wright wrote:

I have a framework project with unit tests that I know worked fine in 2.2 (The last time I updated the framework and it's tests). Today I attempted to build the framework and its tests and am getting unresolved symbols when trying to link the framework with my test bundle. I followed these instructions http:// developer.apple.com/documentation/DeveloperTools/Conceptual/ UnitTesting/index.html but still cannot successfully build my test bundle.

My test bundle is setup with a direct dependency on the framework. Here are the relevant build results.

By "direct dependency" I assume you mean you set the test bundle *target* to have a direct dependency on the framework *target*. You also need to make the test bundle *product* link against the framework *product*.


Assuming that your framework target and your test bundle target are both in the same project, you can just drag the framework product from the Products group into your test bundle target's "Link Frameworks & Libraries" build phase. That will cause your test bundle to link against your framework.

  -- 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: Unit Testing frameworks problem - 2.4
      • From: Byron Wright <email@hidden>
References: 
 >Unit Testing frameworks problem - 2.4 (From: Byron Wright <email@hidden>)

  • Prev by Date: Re: xcode-2.4 cctools-622.3 ld and KEXTs
  • Next by Date: Re: Unit Testing frameworks problem - 2.4
  • Previous by thread: Re: Unit Testing frameworks problem - 2.4
  • Next by thread: Re: Unit Testing frameworks problem - 2.4
  • Index(es):
    • Date
    • Thread