ジェンキンスのコード署名にfastLaneと match を使い始めました。match は、証明書とプロビジョニング プロファイルを正常に作成できます。ただし、ファイルが CODE_SIGN_STYLE を自動に設定しているため、このbuild_app
ステップは失敗します。開発者は自動署名を使用しているためpbxproj
、ファイルを変更せずにビルドを実現したいと考えています。pbxproj
FastFile
lane :upload_debug_test_flight do
setup_jenkins
match
build_app(scheme: "MyWork Dev", clean: true, export_method: "app-store")
upload_to_testflight(.....)
end
一致ファイル:
git_url("git@github.mywork/cert_repo.git")
storage_mode("git")
type("appstore")
api_key_path("./test.json")
app_identifier(["com.mywork.mywork-test"])
username("developer@mywork.com")
私たちの project.pbxproj には
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
PROVISIONING_PROFILE_SPECIFIER= ''
次のことも試しましたが、まだ gym/build_app が一致する環境変数を選択していません:
build_app(
skip_profile_detection: true,
export_method: "app-store",
export_options:{
signingStyle: "manual",
provisioningProfiles:{
"com.mywork.mywork-test": "match AppStore com.mywork.mywork-test"
}
}
)