您的位置:首页 > 编程语言

苹果审核遇到的坑(一):包含第三方支付代码

2017-12-05 15:42 603 查看
最近在过项目苹果审核,一连2次都被拒,反馈邮件如下

Guideline 3.1.1 - In-App Purchase

We noticed that your app contains a payment mechanism other than in-app purchase for digital content or to unlock features or functionality within your app, which is not appropriate for the App Store. In-app purchase is the only valid in-app payment mechanism
for digital content.

Note: Continuing to hide functionality within your app or other dishonest acts may result in the removal of your apps from the App Store and termination of your Apple Developer Program membership and all associated memberships. 

原因都是包含第三方支付,我一开始还以为估计是用了shareSDK相关的东西导致的,所以删除了提交,结果第二次还是被拒,因为我们确实是用webview来进行支付的,所以代码里面确实包含有pay buy之类的关键词。一开始以为是不是苹果会扫描代码,但是又觉得不太可能。那样很多安卓的支付的,不是也就能被扫描出来了?后来发现一个好玩的语句,重点来啦:

终端输入

class-dump /xxx/archive/xxx.xcarchive/Products/Applications/xxx.app 

即可打印出来你的app中包含的ios的function

检查下这里面有没有需要屏蔽的关键词

我通过这个方式把该改的名字都换掉,在提交审核,果然就没说我包含第三方支付了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐