Closed XMB5 closed 6 years ago
Which version of Swift are you using?
Swift version 4.2 (swift-4.2-RELEASE) Target: x86_64-unknown-linux-gnu
4.2 requires the iOS 12.0 SDK, which only works on macOS atm. I’ve temporarily rolled back the Swift toolchain available on my website to 4.1.2. Simply follow the instructions on the wiki again to install that version.
Thanks! It works now.
(for anyone in the future, download the swift 4.1.2 toolchain at https://github.com/kabiroberai/swift-toolchain-linux/releases/download/v1.0.0/swift-4.1.2-ubuntu16.10.tar.gz)
When linking swift code with the 11.2 toolchain, macos works fine, but linux gives an error:
edit: source code https://github.com/XMB5/trolldropapp