swift_initClassMetadataImpl EXC_BAD_ACCESS 和 Xcode 11.2.1
swift_initClassMetadataImpl EXC_BAD_ACCESS with Xcode 11.2.1
我最近更新到 Xcode 11 测试版,我的代码似乎在 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
我最近更新到 Xcode 11 测试版,我的代码似乎在 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