2. 1 Performance: App Completeness
Guideline 2.1 - Performance - App Completeness
We were unable to review your app as it crashed on launch. We have attached detailed crash logs to help troubleshoot this issue.
给了崩溃日志
1.我在真机和模拟器iOS13系统测试并没有崩溃,用testFlight测试才有崩溃
2.需要符号化日志,参考:
http://www.cocoachina.com/articles/20921
我符号化以后还是看不懂,然后我在友盟的错误分析上找到了崩溃日志
UISearchDisplayController is no longer supported when linking against this version of iOS. Please migrate your application to UISearchController.
但是搜代码里并没有UISearchDisplayController,搜SearchDisplay找到问题,原来是之前的StoryBoard里用了UISearchDisplayController但是没有删除干净,iOS13不能用UISearchDisplayController了
参考:https://github.com/mapbox/mapbox-gl-native/issues/15559
改完以后用testFlight测试,可以正常启动,但是运行一段时间又崩溃了,用友盟查看错误日志,
+[_LSDefaults sharedInstance]: unrecognized selector sent to class 0x1ef61aff8
(null)
查找以后发现是友盟的问题,需要更新框架
pod 'UMCCommon', '~> 2.1.1'
pod更新以后再测测试,终于不崩溃了