我最近更新到了Xcode 11 beta,我的代码似乎在Swift运行时函数swift_initClassMetadataImpl
崩溃,出现EXC_BAD_ACCESS
错误。
是否有临时解决方法?
编辑: Xcode 11.2.1 GM上仍然存在此问题。
尝试这样做,为我工作(在11.2 GM中选中)
Temporary workaround that fixes it:
-Go to Project Target/Build Settings
-"Dead Code Stripping" to NO
在这里找到:https://github.com/ReactiveX/RxSwift/issues/2099#issuecomment-548978168
和这里https://bugs.swift.org/browse/SR-11564
或者您可以在这里获得以前的版本
https://developer.apple.com/download/more/
并且是的,11.2
GM中存在问题