iOS 审核被拒,日志中找不到苹果返回的creashlog的解决办法

前几天在项目审核中,项目被拒绝,拒绝原因如下:

Guideline 2.1 - Performance - App Completeness

Your app still crashed on iPad running iOS 13.1.3 on WiFi when we:

Tap on login button.

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 that it runs as expected.

Resources

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

告诉我点击“登录”按钮的时候会崩溃!!!

并且附带了几个.txt的文件,里面都是16进制的崩溃日志

是这个样子的,翻来覆去的找解决方法,原来是要把返回的16进制转化为符号化读取崩溃日志的信息

这里有解析creashlog的详细教程,根据教程就能解析出来creash崩溃的位置

链接:https://www.jianshu.com/p/3caccc287346(iOS之解析审核Crash Log方式(一))

         https://www.jianshu.com/p/74052e371cb8(iOS之解析审核Crash Log方式(二))

这是一个漫长的过程,我就没有详细的去get这个技能

在反复查阅下,突然发现Xcode里有这样的一句提示:

[Assert] Access to UITextField's _placeholderLabel ivar is prohibited. This is an application bug and will become a hard crash in a future release

卧槽!!!

原来是_placholderLabel这个方法不能用了。在未来的版本可能会引起崩溃!!!!

链接 https://blog.csdn.net/a18339063397/article/details/97938699(这个是替换的方法)UITextField 的私有属性 _placeholderLabel 被禁止访问了

请各位iOS 开发工程师仔细的检查一下自己的项目中是否会含有这样的方法

如果有请替换掉,不然苹果审核是真心过不去啊!!!

以上均为自己所遭遇的真实填坑

希望可以对大家有帮助。谢谢

猜你喜欢

转载自www.cnblogs.com/lidongxiao/p/11737482.html