我有一个Xcode项目,其中包含多个目标。其中两个目标生成应用程序,并具有各自的bundle id,以通过企业开发团队ID进行分发,而另一个目标则通过App Store开发人员团队ID进行分发。我正在尝试为此项目设置Fastlane Match,但我无法使其处理多个团队。
这里是我的Matchfile的内容:
在命令行中运行
这里是我的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
这是有道理的,因为它不知道团队ID A
。我能否调整Fastlane Match,使其在多个应用程序标识符中与我的两个团队ID都相容?