Posts

Post marked as solved
2 Replies
1.1k Views
I get the following errors when attempting to compile and run my tests within XCode:XCUIElement' is not a member type of 'XCTest''XCUIKeyboardKey' is not a member type of 'XCTest''XCTActivity' is not a member type of 'XCTest'Failed to load module 'XCTest'The tests compile and run fine from the command line.The procedure I used:swift -versionApple Swift version 5.1 (swiftlang-1100.0.212.5 clang-1100.0.28.2)Target: x86_64-apple-darwin18.6.01) Delete derived data2) rm -rf .build3) rm -rf projectName.xcodeproj4) swift package update5) swift test (tests compile, run and pass)6) swift package generate-xcodeproj7) Open project in xcode-beta8) [Cmd]-UDoes anyone have a solution or is this a bug?
Posted Last updated
.