Re: Unit Testing frameworks problem - 2.4
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