手记

iOS审核被拒问题-2.3.1

前两天提交审核的时候,被苹果拒了。说我们的应用包含混淆代码或违反了苹果的审核流程,下面是回复的原文:

We discovered that your app contains obfuscated code, selector mangling, or features meant to subvert the App Review process by changing this app’s concept after approval to the App Store.

The next submission of this app may require a longer review time, and this app will not be eligible for an expedited review until this issue is resolved.

Next Steps

  • Review the Performance section of the App Store Review Guidelines.

  • Ensure your app is compliant with all sections of the App Store Review Guidelines and the Terms & Conditions of the Apple Developer Program.

  • Once your app is fully compliant, resubmit your app for review.

Submitting apps designed to mislead or harm customers or evade the review process may result in the termination of your Apple Developer Program account. Review the Terms & Conditions of the Apple Developer Program to learn more about our policies regarding termination.

If you believe your app is compliant with the App Store Review Guidelines, you may submit an appeal. Alternatively, you may provide additional details about your app by replying directly to this message.

在网上搜了一些资料之后,渐渐知道了是什么导致的被拒。原来苹果在人工审核之前,会先进行机器扫描,如果扫描的时候扫出包含微信支付或第三方支付的sdk代码后,会被拒,让你使用苹果内购。

我们这次提交的版本中包含微信支付sdk的相关代码,于是果断把相关代码删了,白名单里的相关配置也给删了,重新提交了个新版本,并给苹果回了封邮件,过了两天审核就通过了。喜大普奔!

下面是整理的网上的相关解决方案,供大家参考,主要分为两种情况:

第一种情况,在App有内购的情况下,审核人员内购以外的支付方式

1、隐藏第三方支付相关UI入口,如微信、支付宝、银联等

第二种情况是ipa包机审,扫描出第三方支付相关信息

1、移除第三方支付代码

2、修改info.plist,移除LSApplicationQueriesSchemes项目中第三方支付相关白名单,如alipay

3、检查是否有某些第三方引入支付相关代码;注意不只是SDK,常量、函数中包含wechatpay、alipay这样的代码也有可能被拒绝

4、检查SDK版本,如微信、QQ分享Apple允许,但SDK中包含的支付代码可能会导致审核,应该换没有支付模块的SDK,比如接入微信应该使用无支付模块的SDK

1人推荐
随时随地看视频
慕课网APP