最近在过项目苹果审核,一连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
检查下这里面有没有需要屏蔽的关键词
我通过这个方式把该改的名字都换掉,在提交审核,果然就没说我包含第三方支付了