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?

4 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

1 Like

is there any update with this? .-.