-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 13.3 Segmentation fault: 11 #7654
Comments
Experiencing the same problem |
I have also seen this issue on Xcode 13.3 and macOS 12.2. |
I believe it's the same as this: https://bugs.swift.org/browse/SR-15792 Let's keep this issue open for now too. |
we have the same problem, how do we workaround it until next Xcode beta? |
@lowfreq2010 The bug fix landed in Swift right after the current Xcode beta was released, so the next beta will hopefully include it. |
@dianaafanador3 you will be surprised, but xcode 13.3 beta 3 does not have this problem fixed. It is getting really annoying... |
They fixed one of the problems, and #7672 works around the other one. |
@tgoyne, i did pod update yo install latest version of Realm, but #7672 workaround fix is not there. I've had to manually copy-n-paste line of code into Persistable.swift. And, of course, it is vanished as soon as i do pod install.... How do i make this workaround permanent? |
Hey @lowfreq2010 this fix has been merged but not released yet. We'll release a version within the next few weeks. You can track our releases here. |
I fixed this by changing 'Swift Compiler - Code Generation' settings for 'Optimization Level' to 'No Optimization'. Previously it was optimized for speed. Perhaps a workaround until a fix is issued. |
@jonharris0n |
@jonharris0n |
How frequently does the bug occur?
All the time
Description
I am using xcode-beta 13.3 version and realm-swift latest version. But I can't build my project, getting below error.
Stacktrace & log output
Can you reproduce the bug?
Yes, always
Reproduction Steps
No response
Version
10.22.0
What SDK flavour are you using?
Local Database only
Are you using encryption?
No, not using encryption
Platform OS and version(s)
macOS Montery, 12.0.1 - xcode 13.3
Build environment
Xcode version: 13.3
macOS Montery, 12.0.1
The text was updated successfully, but these errors were encountered: