Reputation: 647
since latest XCODE 6 update my XCTest framework dissappeared from Developer/Library/Frameworks dir. Is there any way to get this framework back? I can only see the SentestingKit there, which I don't want to use since I moved to XCTests/Kiwi tests
The project's FRAMEWORK SEARCH PATHS are set as they should ->
EDIT: I've also added $(PLATFORM_DIR)/Developer/Library/Frameworks to my test target's framework search paths
Upvotes: 2
Views: 6640
Reputation: 946
In your Test Target, make sure Build Settings -> Linking -> Other Linker Flags is set to "-framework XCTest"
Also make sure these are set (In Test Target):
Build Settings -> Linking -> Packaging -> Private Headers Folder Path = $(CONTENTS_FOLDER_PATH)/PrivateHeaders
Build Settings -> Linking -> Packaging -> Public Headers Folder Path = $(CONTENTS_FOLDER_PATH)/Headers
Build Settings -> Linking -> Packaging -> Wrapper Extension = xctest
Upvotes: 3