-
Notifications
You must be signed in to change notification settings - Fork 29
Example doesn't run from Xcode #2
Comments
Thanks for writing in about this, @chriseidhof. I was hitting the same issue when trying to run unit tests. I think upgrading SwiftSyntax to a newer release should fix the issue, but I'd held off on that until I shipped this initial release. This is a great reminder to take another look. |
@chriseidhof I tried fixing this by targeting a different release of SwiftSyntax, but wasn't able to get any of the other tags to work. Until a better solution is provided upstream, my suggestion would be to run |
@chriseidhof I'm happy to report that this is fixed in the latest Swift 5.2 development builds. I'll wait to close this until the most recent Xcode GM can build and run tests on SwiftSemantics |
Update: It looks like this still isn't working in Xcode 11.4. |
Its not a proper fix, but I did manage to have some luck in Xcode 12.2 by doing the following:
Not ideal, but was enough to get things working at least so I could poke around rather than generating the xcodeproj |
I'm very happy to report that this is working in Xcode 12.5 with the latest OSS Toolchain. I updated the README with fb4aa13. |
If you create a new swift package, open it in Xcode, and add the dependencies and sample code, it fails to run successfully:
I forgot what causes this bug. Running/building from the terminal works fine. Maybe good to either add a notice or fix this? (I don't have time but wanted to let you know anyway).
This is Xcode 11.3 on Mojave.
The text was updated successfully, but these errors were encountered: