I recently updated to the Xcode 11 beta, and my code seems to crash at a Swift runtime function swift_initClassMetadataImpl
with an EXC_BAD_ACCESS
error.
Is there a temporary workaround for this?
Edit: This issue is still present on Xcode 11.2.1 GM.
Try to do this, works for me (checked in 11.2 GM)
Temporary workaround that fixes it:
-Go to Project Target/Build Settings
-"Dead Code Stripping" to NO
found here: https://github.com/ReactiveX/RxSwift/issues/2099#issuecomment-548978168
and here https://bugs.swift.org/browse/SR-11564
or you can get the previous version here
https://developer.apple.com/download/more/
and yes, the issue exists in 11.2
GM
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With