Re: Unit Testing frameworks problem - 2.4
Re: Unit Testing frameworks problem - 2.4
- Subject: Re: Unit Testing frameworks problem - 2.4
- From: Byron Wright <email@hidden>
- Date: Tue, 15 Aug 2006 20:33:19 -0700
Hi Chris,
I found a solution but not the cause, after reverting to an older
version of my project file I noticed that a bunch of the build
settings paths got lost "somehow", as if the environment variables
such as "$(BUILD_DIR)/$(CONFIGURATION)" where not set? I am really at
a lost as to how this might have happened. Another reason it might be
working now is that I quit and relaunched XCode, danced 3 times
around by desk and sprinkled bone dusk over my peripherals after
reverting back to my older project file. For a small fee I now
provide onsite ritual services to help troubleshoot mac dev problems
(should work on any problem really).
thanks for all the advice,
Byron
On Aug 15, 2006, at 8:00 PM, Chris Hanson wrote:
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