V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
xiaoyangka121
V2EX  ›  iDev

请假大神 Apple 是如何判定 App 包含热更新的

  •  
  •   xiaoyangka121 · 2017-07-25 16:09:08 +08:00 · 8094 次点击
    这是一个创建于 2459 天前的主题,其中的信息可能已经有所发展或是发生改变。
    最近 App 提交审核被拒
    During review, your app installed or launched executable code, which is not permitted on the App Store. Specifically, your app uses the itms-services URL scheme to install an app.

    现在已经把第三方 SDK 能更新的都已经更新了,现在还无法确定是哪个 SDK 中包含热更新。

    请假大神有没有什么方法可以知道自己的 App 中是否包含热更新。
    11 条回复    2017-08-06 15:44:29 +08:00
    linus3389
        1
    linus3389  
       2017-07-25 16:17:10 +08:00
    官方破解,最为致命(我瞎说的,下面有请假大神。
    delphiqin
        2
    delphiqin  
       2017-07-25 16:19:06 +08:00
    你这个不是热更新的事儿吧
    Specifically, your app uses the itms-services URL scheme to install an app.

    这是你的程序里有使用 itms-services URL scheme 去安装应用了
    xiaoyangka121
        3
    xiaoyangka121  
    OP
       2017-07-25 16:23:28 +08:00
    使用命令
    nm -u xxx.a >> xxx.txt
    并没有发现有使用 dlopen(), dlsym()方法。

    另外
    全工程搜索过除了分享用到 URL scheme,其他地方并没有使用。
    delphiqin
        4
    delphiqin  
       2017-07-25 16:34:03 +08:00
    不是 URL Scheme,你 google itms-services
    xiaoyangka121
        5
    xiaoyangka121  
    OP
       2017-07-25 16:56:03 +08:00
    @delphiqin
    我自己的 App 内部并没有使用 items-services 协议去下载 App
    我怎么确定第三方 SDK 使用了呢?
    delphiqin
        6
    delphiqin  
       2017-07-25 17:17:41 +08:00
    有个命令能检查 .a 包含的 static string,不过我忘记那个命令了,你可以网上查一下
    或者你也可以在 itunesconnect 后台回复审核说你不知道应该怎么检查,审核人员会回复你那几个检查的命令

    你也可以自己跑一下你的 app,把前几个界面能进到的功能都看一下,看有没有问是否要在 xxx 网站下载 yyy 应用的那种弹窗,苹果审核人员能发现的问题,一般不会藏的太深。重点关注一下第三方调用的各种 webview

    如果你自查实在找不到的话,就改个 build 号重新打个包原样再传一遍……碰运气……
    Jasio
        7
    Jasio  
       2017-07-25 17:19:56 +08:00
    最近我也碰到了,估计更新了审核规则。



    APP 内有一些 ReactNative 的模块,开始以为是新版 RN 依赖库导致。

    跟苹果来来回回一周后,原来是 app 内有"fir.im"关键词被新规则(黑名单)扫描到了。

    xiaoyangka121
        8
    xiaoyangka121  
    OP
       2017-07-25 17:20:38 +08:00
    @delphiqin
    好吧,谢谢大神热情相助。
    xiaoyangka121
        9
    xiaoyangka121  
    OP
       2017-07-25 17:28:44 +08:00
    @Jasio

    兄台一句“原来是 app 内有"fir.im"关键词被新规则(黑名单)扫描到了”惊醒了我,n 久之前曾经做过 fir 检查更新的功能。

    好奇怪那段代码在那放了很长时间了,之前的审核居然没有审核出来?
    Jasio
        10
    Jasio  
       2017-07-25 17:57:04 +08:00
    @xiaoyangka121 是之前 fir.im 还没被禁😂
    ddhjy
        11
    ddhjy  
       2017-08-06 15:44:29 +08:00
    @Jasio 我们也遇到这问题了 方便加个 QQ 咨询下吗 我 QQ 是 5108934892 非常感谢
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5368 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 06:42 · PVG 14:42 · LAX 23:42 · JFK 02:42
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.