Re: SenTestCase link error but framework clearly linked
Re: SenTestCase link error but framework clearly linked
- Subject: Re: SenTestCase link error but framework clearly linked
- From: Rick Mann <email@hidden>
- Date: Wed, 29 May 2013 20:53:25 -0700
On May 29, 2013, at 18:18 , Chris Hanson <email@hidden> wrote:
> It looks like you’re building a test bundle for iOS Simulator, but you’re trying to link OCUnit (SenTestingKit.framework) for OS X.
>
> Be sure your test bundle target has $(SDKROOT)/Developer/Library/Frameworks in its FRAMEWORK_SEARCH_PATHS build setting, so it looks in the appropriate SDK for SenTestingKit.framework. (The OS X version isn’t in an SDK, it’s in $(DEVELOPER_FRAMEWORKS_DIR).)
There appears to be no SenTestingKit.framework in the iOS 6.1 group, but there is one in Developer Frameworks. If I add the latter, it adds the wrong search path to FRAMEWORK_SEARCH_PATHS. If I first add $(SDKROOT)/Developer/Library/Frameworks to FRAMEWORK_SEARCH_PATHS, and then try to add the right framework, it still doesn't find it.
In the settings UI, it renders $(SDKROOT)/Developer/Library/Frameworks as "iphoneos/Developer/Library/Frameworks".
If I create a new Cocoa Touch Unit Testing Bundle target, it is created with the SenTestKit.framework from "$(DEVELOPER_LIBRARY_DIR)/Frameworks", and has that as the second of two search paths.
--
Rick
_______________________________________________
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