iOS 提交审核被拒原因整理

在这里插入图片描述

提交AppStore审核是个很有趣的过程,他会时不时的拒绝你的提交.各种奇葩的理由,有的时候直接回复重新提交就可以,有的时候啥也不回复啥也不改重新提交也可以通过,苹果爸爸经常抽风…整理下我遇到的苹果被拒的原因.(持续更新…)

1

We discovered one or more bugs in your app when reviewed on iPad running iOS 13.1.1 on Wi-Fi.
Specifically, the app didn’t load. Please see attached screenshots for details.

看文中的提示是在iOS13.1.1wifi环境下程序崩溃,因为我xcode版本是10.3没办法测试iOS13,故升级适配iOS13后重新提交 . (在测试iOS13的时候并没有发现崩溃现象).

2

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.

在这里插入图片描述
app启动的时候程序崩溃,并给我一个崩溃日志.(我自己测试的时候并没有发现崩溃的问题. )我根据符号表查找崩溃的地方大体过程如下:

  • 桌面新建一个文件夹“crash”保存苹果给返回的错误信息.

  • 找到上传应用时候的AppStore的包中的.dsym文件,并复制到“crash”文件中.

  • 找到symbolicatecrash工具。根据以下目录可以找到symbolicatecrash工具: /Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash。 注意Xcode.app是你的Xocde名字,假如你的Xcode名字叫Xcode8.0的话,就应该写成Xcode8.0.app。找到symbolicatecrash工具之后,将其拷贝到我们的Crash文件夹中。

  • 生成可视化.log文件。打开终端cd到“crash”文件夹输入命令:

    ./symbolicatecrash  /Users/wei/Desktop/crash/crashlog.txt  /Users/wei/Desktop/crash/DC_DFH5.0_iPhone.app.dSYM >mrCrash.log
    

    注意:crashlog.txtt 是你的txt文件路径 。DC_DFH5.0_iPhone.app.dSYM是你的.dSYM文件路径,mrCrash.log是你要生成的.log文件。
    然后可能会出现累类似以下提示:

    Error: "DEVELOPER_DIR" is not defined at ./symbolicatecrash line 69.
    
    

    如果出现以上提示,则输入以下命令:

    export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
    注意:Xcode.app中的Xcode仍然是你的Xcode名字。
    

    重新输入上面的命令:

    ./symbolicatecrash  /Users/wei/Desktop/crash/crashlog.txt  /Users/wei/Desktop/crash/DC_DFH5.0_iPhone.app.dSYM >mrCrash.log
    

    最后等待几秒钟,你的.log文件已经在Crash文件夹下面了

  • 最后文件会是这样的:
    在这里插入图片描述
    打开mrCrash.log就可以调试了.

  • 这里我要说下,苹果有的时候真的会抽风,我看日志后没有改任何东西,直接重新提交了.第二天就过了~ (# ̄~ ̄#)

3

xcode11 authenticating with the app store .

出现这个提示是提交审核的时候出现的:
在这里插入图片描述
一直卡在这里很久没有动静,网上去查了下说很多说的是执行以下三条命令:

1、cd ~

2、mv .itmstransporter/ .old_itmstransporter/

3、“/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter”

可是xcode11已经没有Application loader 这个工具了,以后提交appstore不能使用了,后来我想了想是不是网络的原因.就直接用4G(我是电信)上传了,没想到一会就提交上去了,我再次切换到wifi去提交也可以提交了.喜大普奔…? ,又在网上查了查原因:这主要是因为xcode11 在第一次上传ipa的时候,需要更新上传依赖的文件包. 依赖的上传文件包没有更新下来导致的上传失败 切换网络环境就可以了。(我开vpn上传也不好使,最后4G可以的,第一次上传成功后,就随便用哪个网路了)

4

ERROR ITMS-90542: "Invalid CFBundleSupportedPlatforms value. The key 'CFBundleSupportedPlatforms' in the Info.plist file in bundle 'Payload/DFHBase_iPhone.app/ISMFrameworkBundle.bundle' contains an invalid value '[iPhoneSimulator]'. Consider removing the CFBundleSupportedPlatforms key from the Info.plist. If this 
bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue."

根据提示 在ISMFrameworkBundle.bundle文件中,把 CFBundleSupportedPlatforms删除,重新打包上传… OK

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值