XCTUnwrap not available during `swift test`

Hello!

When executing swift test, I'm getting a error: use of unresolved identifier 'XCTUnwrap'. Is this a known issue?

2 Likes

XCTUnwrap is new API Xcode 11, so depending on your config, it may not be available yet.

Unfortunately this is not the case. Iā€™m using the Swift 5.1 command line tools, so XCTUnwrap should be available.

This is a known issue in SwiftPM right now.

2 Likes

Filed SR-11501

Terms of Service

Privacy Policy

Cookie Policy