27 lines
3.4 KiB
Bash
27 lines
3.4 KiB
Bash
# 本机设备配置样例。复制成 dm/ios/local.env(已在 .gitignore 里,不进仓)再填;也可放 ~/.config/dm-ios/local.env 供多个工作树共用。
|
||
# 真机的 devicectl 设备标识:xcrun devicectl list devices 的 Identifier 列(装机 / 真机脚本用)
|
||
# Sample local device configuration. Copy to dm/ios/local.env (already in .gitignore, not committed) and fill it in; it can also go in ~/.config/dm-ios/local.env to be shared by multiple working trees.
|
||
# devicectl device identifier of the real device: the Identifier column of xcrun devicectl list devices (used by the install / real-device scripts)
|
||
DM_DEVICE=
|
||
# 真机的硬件 UDID:Xcode → Devices and Simulators → Identifier。tools/lifecycle.sh、tools/xtrace.sh 用;
|
||
# 用免费账号(DM_FREE_ACCOUNT=1)出包时也要填:构建以这台手机为目标,苹果才肯给免费团队生成描述文件(构建时手机要连着)
|
||
# Hardware UDID of the real device: Xcode → Devices and Simulators → Identifier. Used by tools/lifecycle.sh, tools/xtrace.sh;
|
||
# it must also be filled in when building with a free account (DM_FREE_ACCOUNT=1): the build targets this phone, and only then will Apple generate a provisioning profile for a free team (the phone must be connected during the build)
|
||
DM_IOS_UDID=
|
||
# 第二台 Mac 的 ssh 目标(只有 dm/tools/l3run.sh、mini_sync.sh 用),如 用户名@主机
|
||
# ssh target of the second Mac (only used by dm/tools/l3run.sh and mini_sync.sh), e.g. user@host
|
||
MINI_SSH=
|
||
# 签名:开发者团队号(Xcode → Settings → Accounts 里团队的 Team ID)与 App 包名(自己起,反域名写法,如 org.example.d2rmobile)。
|
||
# App 组、iCloud 容器由包名派生(group.<包名>、iCloud.<包名>)。出 App 与装机脚本都要这两项。
|
||
# Signing: developer team ID (the Team ID of the team under Xcode → Settings → Accounts) and the App bundle ID (your own choice, reverse-domain style, e.g. org.example.d2rmobile).
|
||
# The App group and iCloud container are derived from the bundle ID (group.<bundle ID>, iCloud.<bundle ID>). Both the App build and the install scripts need these two.
|
||
DM_TEAM_ID=
|
||
DM_BUNDLE_ID=
|
||
# 用免费的开发者账号(个人团队)时设成 1:出包时不带它签不了的权限(iCloud 存档同步、持续执行、增加内存上限、扩展虚拟寻址)。
|
||
# 免费账号另有苹果的限制:描述文件 7 天过期(要重新构建重装)、最多 3 台设备、每台最多 3 个 App。付费账号留空。
|
||
# 用免费账号时:上面的 DM_IOS_UDID 也要填,构建时把手机连上;装好后第一次打开前,到手机「设置 → 通用 → VPN 与设备管理」里信任你的开发者账号。
|
||
# Set to 1 when using a free developer account (personal team): the build then leaves out the entitlements it cannot sign (iCloud save sync, sustained execution, increased memory limit, extended virtual addressing).
|
||
# Free accounts also have Apple's own limits: the provisioning profile expires after 7 days (rebuild and reinstall needed), at most 3 devices, at most 3 apps per device. Leave empty for a paid account.
|
||
# When using a free account: DM_IOS_UDID above must also be filled in, and the phone must be connected during the build; after installing and before the first launch, trust your developer account on the phone under 「设置 → 通用 → VPN 与设备管理」(Settings → General → VPN & Device Management).
|
||
DM_FREE_ACCOUNT=
|