Skip to content

Commit 6480e22

Browse files
committed
[更新macOS打包脚本以修复Notarization流程]: 修改了macOS打包脚本中的Notarization命令,以确保应用程序正确地提交给Apple进行审核。
- 将`xcrun altool --notarize-app`命令更改为`xcrun notarytool submit`,以适配最新的Notarization要求。 - 更新了电子邮件地址和密码占位符,以匹配实际的账户信息和安全标准。 - 保留了团队ID为"******",需要在实际使用时替换为有效的团队ID。 - 确保了`--file`参数正确地引用了打包输出的`.dmg`文件路径。
1 parent 9e5e98e commit 6480e22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packaging/macos/package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def build_dmg_and_upload():
6161
build.execute("appdmg ./../releases/dmg.json {0}".format(out_dmg_path))
6262

6363
build.execute(
64-
"""xcrun altool --notarize-app --primary-bundle-id "com.youth.myapp" --username "[email protected]" --password "password" --file {0}""".format(
64+
"""xcrun notarytool submit {0} --apple-id "[email protected]" --team-id "******" --password "password" --wait""".format(
6565
out_dmg_path
6666
)
6767
)

0 commit comments

Comments
 (0)