美文网首页
iOS UI Testing Bundle与企业证书

iOS UI Testing Bundle与企业证书

作者: blueshadow | 来源:发表于2017-08-31 18:58 被阅读21次

能否为iOS UI Testing Bundle打上企业证书呢?不行。

企业证书 开发者证书

但是对于iOS UI Testing Bundle的target并没有Entitlements.plist文件,也没有Capabilities这一栏:

正常的app target iOS UI Testing Bundle

所以我猜测这个UI Testing target需要get-task-allow为True,但企业证书的MobileProvision对这一项设置了为False(用iHex等二进制查看软件可以看到,搜索get-task-allow)。而开发者证书的MobileProvision是可以看到设置为True的。

企业证书的MobileProvision 开发者证书的MobileProvision

自然想到是否可以篡改MobileProvision这个文件?
不行诶,修改之后Xcode会载入MobileProvision失败:


好吧,只能乖乖的用回开发者证书了。

相关文章

网友评论

      本文标题:iOS UI Testing Bundle与企业证书

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