我们有几个使用不同的应用 ID、配置文件和团队的构建(一个团队 ID 是官方的,另一个是企业 ID)。我正试图把它放在 Gymfile 中,因为 faSTLane 无法找出配置文件。 Gymfile 格式必须如何支持多种构建方法和配置文件?
这失败了,总是取最后一个条目(应用商店)......
output_directory "./fastlane/builds"
export_options(
method: "enterprise",
provisioningProfiles: {
"com.company.app.enterprise.production": "Our_App_Enterprise_PRD",
"com.company.app..enterprise.staging": "Our_App_Enterprise_STG"
},
method: "development",
provisioningProfiles: {
"com.company.app..production": "Our_App_Official_PRD",
"com.company.app..staging": "Our_App_Official_STG"
},
method: "app-store",
provisioningProfiles: {
"com.company.app": "Our_App_Official_AppStore"
}
)
这也失败了。总是拿第一个条目...
output_directory "./fastlane/builds"
export_options(
method: "enterprise",
provisioningProfiles: {
"com.company.app.enterprise.production": "Our_App_Enterprise_PRD",
"com.company.app..enterprise.staging": "Our_App_Enterprise_STG"
}
)
export_options(
method: "development",
provisioningProfiles: {
"com.company.app..production": "Our_App_Official_PRD",
"com.company.app..staging": "Our_App_Official_STG"
}
)
export_options(
method: "app-store",
provisioningProfiles: {
"com.company.app": "Our_App_Official_AppStore"
}
)
您不能在一个 Gymfile
中拥有多个 export_options
,而是必须在 中多次调用 match>Fastfile
,每次都有不同的export_options
。
关于ios - FaSTLane Gym - 多种导出选项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45539868/
欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://sqlite.in/) | Powered by Discuz! X3.4 |