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.