-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.local.example
More file actions
46 lines (40 loc) · 1.73 KB
/
Copy pathMakefile.local.example
File metadata and controls
46 lines (40 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Hell RCMenu - 私密配置模板
#
# 用法:
# 1. 复制为 Makefile.local
# cp Makefile.local.example Makefile.local
# 2. 填好真实凭证
# 3. Makefile.local 已在 .gitignore,不会被提交
#
# 用途: make notarize 需要的 Apple Developer 凭证
# ===========================================================================
# 必填: Developer ID Application 证书名称
# ---------------------------------------------------------------------------
# 用于 release 签名,必须是真正的 Apple Developer ID 证书,而不是本地自签的 Hell Dev。
# 列出本机现有证书: security find-identity -v -p codesigning
# ===========================================================================
NOTARY_SIGN_IDENTITY := Developer ID Application: Your Name (XXXXXXXXXX)
# ===========================================================================
# 公证凭证: 二选一
# ===========================================================================
# --- 方式 A (推荐): 把凭证存进系统钥匙串,Makefile 只引用 profile 名 ---
#
# 一次性运行(在终端):
# xcrun notarytool store-credentials "hell-rcmenu" \
# --apple-id "you@example.com" \
# --team-id "XXXXXXXXXX" \
# --password "abcd-efgh-ijkl-mnop" # App-specific password
#
# 然后取消注释下行(profile 名要与 store-credentials 第一参数一致):
#
# NOTARY_PROFILE := hell-rcmenu
# --- 方式 B: 直接写凭证(不推荐,文件需严格不入版本控制) ---
#
# Apple ID 邮箱
# NOTARY_APPLE_ID := you@example.com
#
# App-specific password,在 https://appleid.apple.com 创建
# NOTARY_PASSWORD := abcd-efgh-ijkl-mnop
#
# Team ID,10 位字符,在 https://developer.apple.com/account 查看
# NOTARY_TEAM_ID := XXXXXXXXXX