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: Thu, 30 May 2013 12:25:50 -0700
So, instead of picking the SenTestingKit.framework from the presented list, I chose to "Add Other" and navigated to "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/Developer/Library/Frameworks". That contained only one framework, SenTestingKit.framework.
For some reason, Xcode is showing me OS X's Developer frameworks, not iOS'.
--
Rick
On May 29, 2013, at 21:28 , Rick Mann <email@hidden> wrote:
>
> On May 29, 2013, at 21:01 , Chris Hanson <email@hidden> wrote:
>
>>> 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”?
>
> I go to the target->Build Phases->Link Binary With Libraryies, click the '+', and am presented with a sheet with a two folders, labeled "iOS 6.1" and "Developer Frameworks". The latter contains a SenTestingKit.framework, the former does not.
>
>>> 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.
>
> OK.
>
>>> 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?
>
> Version 4.6.2 (4H1003)
>
> --
> 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
--
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