美文网首页iOS点点滴滴iOS程序猿iOS Developer
iOS 关于APP提交审核被拒因Guideline 2.5.2

iOS 关于APP提交审核被拒因Guideline 2.5.2

作者: 暗夜星星之火 | 来源:发表于2017-08-03 17:21 被阅读2847次

最近上架APP 被拒了 苹果发来的邮件如下:

Your app, extension, or linked framework appears to contain code designed explicitly with the capability to change your app’s behavior or functionality after App Review approval, which is not in compliance with App Store Review Guideline 2.5.2 and section 3.3.2 of the Apple Developer Program License Agreement.

This code, combined with a remote resource, can facilitate significant changes to your app’s behavior compared to when it was initially reviewed for the App Store. While you may not be using this functionality currently, it has the potential to load private frameworks, private methods, and enable future feature changes. This includes any code which passes arbitrary parameters to dynamic methods such as dlopen(), dlsym(), respondsToSelector:, performSelector:, method_exchangeImplementations(), and running remote scripts in order to change app behavior and/or call SPI, based on the contents of the downloaded script. Even if the remote resource is not intentionally malicious, it could easily be hijacked via a Man In The Middle (MiTM) attack, which can pose a serious security vulnerability to users of your app.

Important Information

As a result of violating this guideline, your app’s review has been delayed. Future submissions of this app, and other apps associated with your Apple Developer account, will also experience a delayed review. Deliberate disregard of the App Store Review Guidelines and attempts to deceive users or undermine the review process are unacceptable and is a direct violation Section 3.2(f) of the Apple Developer Program License Agreement. Continuing to violate the Terms & Conditions of the Apple Developer Program will result in the termination of your account, as well as any related or linked accounts, and the removal of all your associated apps from the App Store.

实话看到的时候我懵逼了,各种百度 Google,询问各位网友,都没有得到有效的解决办法,最后查资料知道可以打印第三方库的静态包来看,于是老哥开始一个一个的检查,终于在友盟分享里面找到了问题,发现友盟分享使用了performSelector:, method_exchangeImplementations(),这两个函数,尼玛 问题终于解决,满心欢喜的提交,由于被苹果拉入了黑名单,等待了将近一周的时间,终于审核通过了。

打印第三名.a文件所需命令

1. cd .a上级文件夹目录 (找到.a文件的目录)

2. nm -n xxx.a >> xxx.txt  (将 静态库名.a 所用的函数名保存到 xxx.txt 文件中)

打开xxx.txt 文件搜索dlopen(), dlsym(), respondsToSelector:, performSelector:, method_exchangeImplementations()函数名如果有用到的挂彩了,将第三方库更新(有的第三方库最新版本可能不行反而老版本的可以,老哥哥们自己斟酌了)。

最后祝愿各位老哥哥顺利上架App Store

相关文章

网友评论

  • 飞翔de小苹果:今天刚好遇到,感谢
    396203ac9a6d:@飞翔de小苹果 告诉你们具体位置了么
    飞翔de小苹果:@Brusewu 找不到原因,所以向苹果申诉要求提供具体位置,今天就给审核通过了
    396203ac9a6d:我的也是这几天被拒的,但是我查了下工程里的.a文件里并没有这些方法呢,你的呢
  • Arthur澪:赞········
  • 广东吃瓜大队队长:楼主,我的项目都有很多respondsToSelector:, performSelector:, method_exchangeImplementations,不在第三方里,会被拒吗
    广东吃瓜大队队长:原来如此,谢谢大神
    暗夜星星之火:不在第三方静态库里,是没问题的,祝你好运
  • walkingzmz:我只用到高德和百度统计 我都更新了 还是被拒 请问怎么处理
    被拒多次了
  • 4138e6476896:Thank you for your reply. Our team found this app contains Pgyer features which is a 2.5.2/4.0.0 concern.

    To continue review it would be appropraite to fully remove all Pgyer features, then resubmit for review.

    Thank you,

    App Store Review
  • iosMaiCai:如果一个也会被拒吗,respondsToSelector:, performSelector:, method_exchangeImplementations() 但是这三个方法是苹果官方的,允许的啊
    暗夜星星之火:你没仔细看吗?第三方的静态包里面包含着几个函数中一个都会被拒绝的!你到网上去看看大家被拒的理由和情况吧
  • iosMaiCai:一般的话,再次延迟审核会有多长时间呢?万一再次提交还是发现这个问题会咋样
    暗夜星星之火:@iosMaiCai 如果给你警告了还不改的话!会被封号!和下架之前的app!你看看我的被拒邮件就清楚了
  • 阿木马克:我的今天早晨也收到同样的被拒通知,感觉苹果有点过分了这样做,太耽误事了
    暗夜星星之火:@阿木马克 恭喜你
    阿木马克:@520IT 已经通过了 延迟了4天,通过后我连着三天每天一个新版本 没有受影响:joy:
    暗夜星星之火:@阿木马克 嗯嗯!他也是为了用户安全考虑
  • 祭司123:您好,这个账号延期审核一般都是一个星期么
    暗夜星星之火:这个就不一定了
  • 北溟微个尘:想问被拉进延迟审查的名单里,如何去掉延迟审查这个名单呢?
    北溟微个尘:@520IT 好的谢谢
    暗夜星星之火:审核通过之后就会从黑名单里面移除了,下次提交审核如果没有问题的话就和正常的审核一样了。
  • 玉思盈蝶:难道用到这些会被拒?dlopen(), dlsym(), respondsToSelector:, performSelector:, method_exchangeImplementations():cold_sweat:
    暗夜星星之火:@玉思盈蝶 这样啊!一般第三方最新库都不会有问题的!我是接盘侠!所以遇到坑了:smile::smile:
    玉思盈蝶:@520IT 嗯嗯..好的..我们自己写呢,不会的吧...我看我们的都上线了呢:smile:
    暗夜星星之火:@玉思盈蝶 如果第三库的.a文件里面包含这几个中的一个或多个都会被苹果拒绝!你可以按照我下面说的命令打印出来看看!在友盟分享的5.2.1这个版本里面是包含有的!最新库一般都会解决了的

本文标题:iOS 关于APP提交审核被拒因Guideline 2.5.2

本文链接:https://www.haomeiwen.com/subject/sxyplxtx.html