今天碰到了一个令人头秃的被拒理由,还附带三个崩溃日志。
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.
此处附带一篇解决方案的中文翻译:
原文文档:
https://developer.apple.com/library/archive/technotes/tn2151/_index.html
中文翻译(感谢原作者):
http://www.cocoachina.com/articles/20921
上面的文章是告诉我们如何符号化崩溃日志。
常规符号化的三个命令:
1.cd 目录文件下 (目录文件下存放symbolicatecrash、.crash、.dSYM三个文件)
2../symbolicatecrash ./*.crash ./*.app.dSYM > symbol.crash
如果遇到错误 DEVELOPER_DIR is not found, 运行下列命令
export DEVELOPER_DIR=/Applications/XCode.app/Contents/Developer