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

[SR-8687] Unable to build SwiftSyntax with SwiftPM #430

Closed
mdiep opened this issue Sep 3, 2018 · 3 comments
Closed

[SR-8687] Unable to build SwiftSyntax with SwiftPM #430

mdiep opened this issue Sep 3, 2018 · 3 comments
Labels
bug Something isn't working

Comments

@mdiep
Copy link

mdiep commented Sep 3, 2018

Previous ID SR-8687
Radar None
Original Reporter @mdiep
Type Bug
Status Closed
Resolution Done

Attachment: Download

Environment

Xcode 10.0.0 beta 6
Apple Swift version 4.2 (swiftlang-1000.0.36 clang-1000.10.44)
Target: x86_64-apple-darwin17.7.0

Additional Detail from JIRA
Votes 0
Component/s SwiftSyntax
Labels Bug
Assignee None
Priority Medium

md5: 9187e958c9ce3827061a6dfc70b8670c

Issue Description:

I've more-or-less copied the Package.swift from the SwiftSyntax README, but it fails to build with Xcode 10 beta 6. From what I understand from the README, this should work. I'm not sure what I'm doing wrong.

I've attached the project I'm using and with the log (it's quite long).

@ahoppen
Copy link
Collaborator

ahoppen commented Sep 15, 2018

The Swift 4.2 snapshot still contains the validate methods. We need to create a new release for Swift 4.2 and link to it from the README.

@nkcsgexi
Copy link
Member

Could you use swift-syntax's release tag ("0.40200.0") for Swift 4.2 instead?

dependencies: [ .package(url: "https://github.com/apple/swift-syntax.git", .branch("0.40200.0")), ],

@mdiep
Copy link
Author

mdiep commented Sep 19, 2018

That works, thanks!

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 9, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants