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-xcodeproj against 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.
It's a bit late for me to dig in further, but the following directive seems to be getting tripped up in Xcode 10.
Reproduce:
sudo xcode select --switch /Applications/Xcode-beta.app/where Xcode-beta.app is the first Xcode 10 WWDC beta.swift package generate-xcodeprojagainst a project using Swiftx, e.g. https://github.com/bkase/DoctorPrettyIt'll fail because Operadics isn't being imported, I assume because
#if SWIFT_PACKAGEis false.