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-11620] Can't build SwiftUI project (Segmentation fault: 11) #54031
Comments
@harlanhaskins, that |
Comment by Artemii Tkachuk (JIRA) Hello @belkadan, sorry for disturbing, but is there any update on this task? As I can't build my app. |
Is This might be #27004 |
If it is that, then the workaround would be to explicitly initialize this value with `(nil, nil, nil)` |
Comment by Artemii Tkachuk (JIRA) @harlanhaskins, I inited it as `@State var error: Error?` |
Ah, this looks like: Can you add an explicit initializer to this view and let me know if that works around this issue? |
The crash is happening while we’re serializing the implicit init(error: State<Error?> = /* crash while writing this default value out */) {
self._error = error
} |
Comment by Artemii Tkachuk (JIRA) @harlanhaskins, woot woot, that helped 😃. Thanks a lot! |
Environment
MacOS Catalina
Version 10.15
Xcode
Version 11.0 (11A420a)
Additional Detail from JIRA
md5: 85c2fc1104115a5c0754d8c254e68f26
Issue Description:
The text was updated successfully, but these errors were encountered: