-
Notifications
You must be signed in to change notification settings - Fork 66
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
Not compiling in Xcode 11 #32
Comments
I'm running into this myself after updating to the latest Graphiti—you can reproduce it in this file, taken mostly from the example in the README (plus a few This feels like a Swift In case it means anything to you, here's the stack dump I get after running
Edit: Looks like there are a couple of open related-ish bugs over at the Swift bug tracker https://bugs.swift.org/browse/SR-11888?jql=text%20~%20%22functionbuilder%22. The TLDR is that this may be a regression, with a fix on |
Update: Looks like this is still a problem as of the January 7th |
Could you share where to download Xcode 13? 😮 |
The most recent Xcode version is 11.3.1 and available on the AppStore. |
I created a fork that gets rid of the function builders as long as they are in a "beta" and private state. I think the long term solution should be function builders but until then you can try this fork: https://github.com/alexsteinerde/Graphiti |
This is fixed in the last release. Unfortunately we had to go back to more verbose conventional builders. We could also provide the array solution @alexsteinerde used in parallel, I reckon. Let people choose what they prefer. I'm still not sure which I prefer myself, to be honest. |
Hello!
I just wanted to use Graphiti in my project, but the compiler throws a 'Segmentation fault: 11', when populating the 'Schema' with more than one 'Field' in a 'Type' or when adding a 'Query'.
While troubleshooting I forked and cloned Graphiti itself.
The compiler threw the same error, because of the Schema in the StarWarsTests.
As I removed all tests from the Graphiti project, the project could compile.
Has anyone experienced the same behaviours before?
Tried on two different machines with Xcode 11.2.1, 11.3 and Swift 5.1.2, 5.1.3
Regards,
Michael
The text was updated successfully, but these errors were encountered: