Post

Replies

Boosts

Views

Activity

Trouble importing XCTest.h in Xcode 12
I'm getting the following compiler error when trying to build my unit tests in Xcode 12: Did not find header ‘XCTest.h’ in framework ‘XCTest’ (loaded from ‘/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.0.sdk/Developer/Library/Frameworks’) on a line that looks like this: #import <XCTest/XCTest.h> When trying: @import XCTest; I get: Could not build module ‘XCTest’ This works fine in Xcode 11.x I am unsure what other information may be relevant to provide here.
13
0
5.2k
Jun ’20