问题
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