Mac App或pkg签名、公证流程

Mac 投屏签名流程(bundle ID: com.thundersoft.IdeaShare)

 

1. 导出其它App的entitlements.plist:codesign -d --entitlements - /Applications/Lark.app > info.plist

1.1 签名时告诉证书需要哪些权限:codesign --force --sign "Developer ID Application: Thunder Software Technology Co., Ltd. (4ZAJA8P7J6)" --options runtime --entitlements info.plist IdeaShare.app

 

2. Mac App 签名:./sign.py

2.1 Mac 对IdeaShare.app/Contents/MacOS/IdeaShare 单独签名

 

3. 拖拽BlackHole.driver 到其它文件到 Resources 中

3.1 手动使用app压缩为zip

 

4. Mac App公证:xcrun altool --notarize-app --primary-bundle-id "com.thundersoft.IdeaShare" --username "huxp0116@thundersoft.com" --password "kbry-qnot-pcpc-nscq" --asc-provider 4ZAJA8P7J6 --file IdeaShare.app.zip

 

5. (可选)公证查询:xcrun altool --notarization-info "d642e864-249d-4f4f-a46e-7eae44914e73" --username "huxp0116@thundersoft.com" --password "kbry-qnot-pcpc-nscq"

 

5.0 打包pkg 使用Package软件

5.1 编写软件名称、选择生成软件包的路径

5.2 选择Project->Presentation->License->添加中英文协议声明文件

5.3 选择IdeaShare->Settings-> 编写bundle ID、Version、Options(a. Require admin password for installation

b. Require some Application to be closed before installation

c. Overwrite directory permissions)

、 选择Edit 添加 bundle ID

5.4 选择 Application 、点击+号,选中Keep owner and group,添加IdeaShare.app

5.5 选择 Pre-installation 文件(preinstall)、选择Post-installationn文件(preinstall)

5.6 使用command + B进行编译

 

6. Mac pkg签名:productsign --sign "Developer ID Installer: Thunder Software Technology Co., Ltd. (4ZAJA8P7J6)" IdeaShare.pkg IdeaShare_signed.pkg

 

7. Mac pkg 公证:xcrun altool --notarize-app --primary-bundle-id "com.thundersoft.IdeaShare" --username "huxp0116@thundersoft.com" --password "kbry-qnot-pcpc-nscq" --asc-provider 4ZAJA8P7J6 --file IdeaShare_signed.pkg

 

8. Mac pkg 公证查询:xcrun altool --notarization-info "d642e864-249d-4f4f-a46e-7eae44914e73" --username "huxp0116@thundersoft.com" --password "kbry-qnot-pcpc-nscq"

 

a. 单签包:codesign --force --sign "Developer ID Application: Thunder Software Technology Co., Ltd. (4ZAJA8P7J6)" IdeaShare --options runtime

 

b. 验签的单包:codesign --verify --deep --verbose=3 IdeaShare

  • 2
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Macle_Chen

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值