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.我在真機(jī)和模擬器iOS13系統(tǒng)測試并沒有崩潰倔矾,用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)
查找以后發(fā)現(xiàn)是友盟的問題镶柱,需要更新框架
pod 'UMCCommon', '~> 2.1.1'
pod更新以后再測測試旷档,終于不崩潰了