终于搞定了 iOS 8.1.3 之后的企业版安装问题。
文章目录
相对于之前的版本,有以下区别:
-
要加上 entitlements.plist
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>application-identifier</key> <string>teamID.bundle.ID</string> // 可以是 teamID.* <key>keychain-access-groups</key> <array> <string>teamID.bundle.ID</string> // 可以是 teamID.* </array> </dict> </plist> -
签名的脚本要改成
usr/bin/codesign -f -s "iPhone Distribution: XXXX Co.,Ltd" --entitlements entitlements.plist "AppName.app"
Debug的过程中很感激 fir.im(http://fir.im/dev/tools) 提供了一个非常好的工具,叫 Log Guru,让我快速找到了问题点。
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论