File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8989 set -o pipefail
9090
9191 # CI 上没有 Apple Development 证书,覆盖项目的 Automatic 签名为 ad-hoc("-")。
92- # 保留 ENABLE_HARDENED_RUNTIME=YES,让 Sparkle 安装器 XPC 服务能在硬化系统上正常拉起。
92+ # 关闭 ENABLE_HARDENED_RUNTIME:ad-hoc 签名无 Team ID,硬化运行时的库验证
93+ # 会因主程序与 Sparkle.framework 的 Team ID 不一致而拒绝加载,导致启动即崩溃。
94+ # ad-hoc 未公证场景下硬化运行时无实际收益;将来改用 Developer ID 公证时再开回。
9395 xcodebuild clean build \
9496 -project "$PROJECT_PATH" \
9597 -scheme "$SCHEME_NAME" \
@@ -102,7 +104,7 @@ jobs:
102104 CODE_SIGNING_ALLOWED=YES \
103105 DEVELOPMENT_TEAM="" \
104106 PROVISIONING_PROFILE_SPECIFIER="" \
105- ENABLE_HARDENED_RUNTIME=YES \
107+ ENABLE_HARDENED_RUNTIME=NO \
106108 MARKETING_VERSION="${{ steps.version.outputs.version }}" \
107109 CURRENT_PROJECT_VERSION="${{ steps.version.outputs.build_number }}" \
108110 ONLY_ACTIVE_ARCH=NO \
You can’t perform that action at this time.
0 commit comments