Crash :Foundation NSClassFromString+200 in iOS 13

*爱你&永不变心* 提交于 2019-12-24 18:05:33

问题


We have released the latest build with the minimum deployment target 10.We are getting the same many crashes in iOS 13 related to the background issues. We are enabling the following capabilities:


1.background fetch

2.push notification(FireBase)

3.data protection as NSFileProtectionComplete.

When checking the link : https://forums.developer.apple.com/thread/122858 Most answers are switching to NSFileProtectionCompleteUntilFirstUserAuthentication from NSFileProtectionComplete. Is this correct fix?

1.Crashed: com.apple.runningboardservices.background-workloop

StackTrace:
dyld3::closure::ObjCStringTable::hash(char const*, unsigned long) const + 16


2.Crashed: com.apple.runningboardservices.connection.incoming

StackTrace:
dyld3::closure::ObjCStringTable::hash(char const*, unsigned long) const + 16


3. Crashed: com.apple.main-thread

StackTrace:
dyld3::closure::ObjCStringTable::hash(char const*, unsigned long) const + 16

Note: We are not getting any crashes in iOS 12 below


回答1:


With iOS 13.2 beta 3, the crash is not reproducible. Looks like the issue was from Apple and they have taken care in 13.2 release



来源:https://stackoverflow.com/questions/58428831/crash-foundation-nsclassfromstring200-in-ios-13

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!