We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WWDC Xcode 10, Swift 4.2
md5: 45ca8977615abc8ba404269902398184
duplicates:
Issue Description:
We started trying to upgrade the Point-Free repo (https://github.com/pointfreeco/pointfreeco) to Xcode 10 and Swift 4.2 but hit some snags using SPM.
Swiftx (https://github.com/typelift/Swiftx) uses #if SWIFT_PACKAGE to handle their own upstream import of Operadics (https://github.com/typelift/Operadics). I filed a bug with them documenting steps to reproduce here: typelift/Swiftx#73
#if SWIFT_PACKAGE
Per convo with @aciidb0mb3r on Slack, this may be a regression in SPM.
Recap:
Use xcode-select with the Xcode 10 beta
xcode-select
Use swift package generate-xcodeproj with a project that depends on Swiftx, e.g. https://github.com/bkase/DoctorPretty
swift package generate-xcodeproj
Try to build said project
This seems to fail because import Operadics, guarded behind #if SWIFT_PACKAGE, doesn't execute.
import Operadics
The text was updated successfully, but these errors were encountered:
@swift-ci create
Sorry, something went wrong.
No branches or pull requests
Environment
WWDC Xcode 10, Swift 4.2
Additional Detail from JIRA
md5: 45ca8977615abc8ba404269902398184
duplicates:
Issue Description:
We started trying to upgrade the Point-Free repo (https://github.com/pointfreeco/pointfreeco) to Xcode 10 and Swift 4.2 but hit some snags using SPM.
Swiftx (https://github.com/typelift/Swiftx) uses
#if SWIFT_PACKAGE
to handle their own upstream import of Operadics (https://github.com/typelift/Operadics). I filed a bug with them documenting steps to reproduce here: typelift/Swiftx#73Per convo with @aciidb0mb3r on Slack, this may be a regression in SPM.
Recap:
Use
xcode-select
with the Xcode 10 betaUse
swift package generate-xcodeproj
with a project that depends on Swiftx, e.g. https://github.com/bkase/DoctorPrettyTry to build said project
This seems to fail because
import Operadics
, guarded behind#if SWIFT_PACKAGE
, doesn't execute.The text was updated successfully, but these errors were encountered: