Swiftx
Swiftx copied to clipboard
Xcode 10 Compatibility
It's a bit late for me to dig in further, but the following directive seems to be getting tripped up in Xcode 10.
#if SWIFT_PACKAGE
import Operadics
#endif
Reproduce:
- Run
sudo xcode select --switch /Applications/Xcode-beta.app/where Xcode-beta.app is the first Xcode 10 WWDC beta. - Run
swift package generate-xcodeprojagainst a project using Swiftx, e.g. https://github.com/bkase/DoctorPretty - Try to build the project.
It'll fail because Operadics isn't being imported, I assume because #if SWIFT_PACKAGE is false.
This may be an SPM issue, filed here: https://bugs.swift.org/browse/SR-7912