Skip to content
New issue

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

Xcode 10 Compatibility #73

Open
stephencelis opened this issue Jun 7, 2018 · 1 comment
Open

Xcode 10 Compatibility #73

stephencelis opened this issue Jun 7, 2018 · 1 comment

Comments

@stephencelis
Copy link

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:

  1. Run sudo xcode select --switch /Applications/Xcode-beta.app/ where Xcode-beta.app is the first Xcode 10 WWDC beta.
  2. Run swift package generate-xcodeproj against a project using Swiftx, e.g. https://github.com/bkase/DoctorPretty
  3. Try to build the project.

It'll fail because Operadics isn't being imported, I assume because #if SWIFT_PACKAGE is false.

@stephencelis
Copy link
Author

This may be an SPM issue, filed here: https://bugs.swift.org/browse/SR-7912

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant