【发布时间】:2019-03-07 14:46:02
【问题描述】:
我有一个具有多个目标的 Xcode 项目。其中两个目标生成应用程序,每个都有自己的捆绑 ID,通过 Enterprise 开发人员团队 ID 分发,一个目标通过 App Store 开发人员团队 ID 分发。我正在尝试为此项目设置 Fastlane Match,但我无法使其与多个团队打交道。
这是我Matchfile的内容:
git_url("git@github.com:myorg/certificates-repo.git")
git_branch("master")
app_identifier([
"my.app.prod", # <-- Team ID A
"my.app.dev", # <-- Team ID B
"my.app.staging" # <-- Team ID B
])
clone_branch_directly(true)
还有我的Appfile:
team_id "Team ID B"
apple_id "my@apple.id"
当从命令行运行fastlane match 来初始化Fastlane Match 时,我得到这个错误:
==========================================
Could not find App ID with bundle identifier 'my.app.prod'
You can easily generate a new App ID on the Developer Portal using 'produce':
fastlane produce -u my@apple.id -a my.app.prod --skip_itc
You will be asked for any missing information, like the full name of your app
If the app should also be created on App Store Connect, remove the --skip_itc from the command above
==========================================
An app with that bundle ID needs to exist in order to create a provisioning profile for it
这是有道理的,因为它不知道Team ID A。我可以调整 Fastlane Match 以在各种应用标识符中同时使用我的团队 ID 吗?
【问题讨论】:
标签: ios fastlane fastlane-match