izi*_*461 5 xcode ios provisioning-profile fastlane
我已经为我的 iOS 项目配置了 2 个目标和几个配置(第一个目标为 6 个,第二个目标为调试和发布)。
每个版本配置都有不同的 bundleID,因此选择了适当的临时分发配置文件(在gym 命令中):
desc "Build target1-config1"
lane :deployTarget1 do
gym(
workspace: "myProj-ios.xcworkspace",
scheme: "target1-config1",
configuration: "target1-Release",
export_method: "ad-hoc",
export_options: {
provisioningProfiles: {
"com.target1.config1" => "AdHocProvProfile1"
}
},
output_directory: "./build",
output_name: "target1-config1.ipa"
)
firebase_app_distribution(
app: "xxxxxxxx",
groups: "ios_app_testers",
release_notes: "Automatic dev build from develop",
firebase_cli_path: "/usr/local/bin/firebase",
debug: true
)
end
Run Code Online (Sandbox Code Playgroud)
尝试使用 AdhocProvProfile2 构建 target2 时,收到错误消息。看起来 fastlane 没有正确选择 provProfile(和 bundleID!)。此外,在项目设置中正确选择了配置文件。什么可能导致问题?没有外部健身房文件。
There seems to be a mismatch between your provided `export_method` in gym
[11:15:55]: and the selected provisioning profiles. You passed the following options:
[11:15:55]: export_method: ad-hoc
[11:15:55]: Bundle identifier: com.target1.config1
[11:15:55]: Profile name: Target1 Development ProvProfile
[11:15:55]: Profile type: development
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
891 次 |
| 最近记录: |