The Swift standard library from the toolchain cannot be used on devices

Get the following error when using the official Swift 5.2.4 toolchain in Xcode 11.6.

Unsupported Configuration

The Swift standard library from the toolchain cannot be used on devices.

Select a macOS or simulator run destination instead, or use a different toolchain that only provides the compiler

Works fine when compiled for the simulator. Any clues for solving this problem?

2 Likes
Terms of Service

Privacy Policy

Cookie Policy