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: Chris Hanson <email@hidden>
- Date: Wed, 29 May 2013 21:01:26 -0700
On May 29, 2013, at 8:53 PM, Rick Mann <email@hidden> wrote:
> 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.
How are you trying to add the framework? What do you mean by “the iOS 6.1 group”?
> In the settings UI, it renders $(SDKROOT)/Developer/Library/Frameworks as "iphoneos/Developer/Library/Frameworks”.
That’s expected. It’ll expand at build time to the full path.
> 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.
What version of Xcode are you encountering this with?
-- 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