App 发布
App 发布
应用AppGuard SDK的IPA审核提交及发布到AppStore之前,需要在AppGuard Manager上应用AppGuard Sign。 为不影响伪造IPA、变造IPA探测功能的正常使用,请务必应用AppGuard Sign。
危险
如果IPA没有使用 AppGuard Sign, AppGuard 安全策略检测可能会导致App异常终止.
AppGuard Sign
选择AppGuard Manager的 [Sign Register] 后,点击 [Sign Register Application] 按钮。

点击您要安装AppGuard Manager的IPA文件,并拖放(Drag & Drop)到 [IOS Sign Register] 窗中。

在AppGuard Manager [IOS Sign Register] 中上传完成IPA 文件后,点击下面的 [Sign Register] 按钮。

确认 AppGuard Manager 签名完成后,点击关闭按钮。

AppGuard Manager安装完成后,可以确认如下内容, 并点击Down 按钮下载已注册 IPA。

###IPA 代码签名及发布
将 AppGuard Sign 应用于 AppGuard Manager 的 IPA 要求在客户公司在发布时使用证书进行代码签名。
AppGuard提供了iparesign.sh脚本,以便使用客户公司的证书进行代码签名。
创建一个用于执行代码签名的文件夹,并复制已应用 AppGuard Sign 的 IPA 文件和 iparesign.sh 文件。

启 动 Terminal,并移动到执行代码签名的文件夹。 如下输入命令语进行。
$ cd [iparesign.sh 位置路径]
$ ./iparesign.sh --ipa [/path/to/your_app_appguarded.ipa]
代码签名进行时,各阶段进行日志可确认。. 确认是否如下日志所示正常执行。
1. Check if an ipa file exists
[success] "QATestGame_appguarded.ipa"
2. unzip ipa package
[success] "QATestGame_appguarded.ipa"
. . .
10. codesign the app
/Users/inca/Downloads/iparesign/resigncompleted/Payload/xCode_1402_TestApp.app: replacing existing signature
[success] codesign the app
11. zip the package
[success] "/Users/inca/Downloads/iparesign/resigncompleted/QATestGame_appguarded_resigned.ipa"
(this ipa file has to upload at appstoreconnect.apple.com)
============= resign completed =============
inca@c2211-001Macmini iparesign %