App Store审核App闪退解决方案

作者: KeepFighting | 来源:发表于2017-09-21 11:12 被阅读663次

发件人 Apple

    1. 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.

Next Steps

To resolve this issue, please revise your app and test it on a device to ensure it will launch without crashing.

Resources

For information on how to symbolicate and read a crash log, please review Tech Note TN2151 Understanding and Analyzing Application Crash Reports.

  • crashlog-B89230D7E-52D0-4E77-AE01-7A13SDFB4AD.txt
  • crashlog-E39ERAE-5B58-48B3-923E-ASD610C45F7.txt
  • crashlog-7CAS3B299-D37E-4601-AGFA-CA4ASDA0D1E.txt

根据审核员提供的crashlog文件,找到对应的奔溃的代码。

  • App Store提供的crashLog

是一堆内存地址,没有显示具体的方法名

32488AA0-10DE-4BDE-BF36-E476D784C8F6.png
  • 对奔溃信息进行符号化后


    7A6CB2D8-3D9E-49F7-8DBD-77FE20A751AD.png

符号化需要的材料

  • dSYM文件(必须是生成对应ipa的xarchive文件,显示包内容,里面的dSYM文件)
  • crash文件(将App Store提供的crashlog,保存到本地,后缀名改为.crash)
  • symbolicatecrash 工具(终端输入 find /Applications/Xcode.app -name symbolicatecrash -type f)

将3个文件放大同一文件夹,终端cd 进入该文件输入以下指令

lomodeMacBook-Pro:dftcrashlog lomowu$ ./symbolicatecrash ./B89230D7E-52D0-4E77-AE01-7A13SDFB4AD.crash ./MyDemo.app.dSYM > symbol.crash

Error: "DEVELOPER_DIR" is not defined at ./symbolicatecrash line 69.
lomodeMacBook-Pro:dftcrashlog lomowu$ export DEVELOPER_DIR=/Applications/XCode.app/Contents/Developer

lomodeMacBook-Pro:dftcrashlog lomowu$ ./symbolicatecrash ./E39F26AE-5B58-48B3-923E-C5D9610C45F7.crash ./MyDemo.app.dSYM > symbol.crash

参考 :
http://blog.csdn.net/qq_26544491/article/details/54909043
http://www.jianshu.com/p/aaa7ae8cab25

相关文章

网友评论

    本文标题:App Store审核App闪退解决方案

    本文链接:https://www.haomeiwen.com/subject/bcqzsxtx.html