问题描述
我需要将我的应用程序临时部署到Play商店,目前在我的CI流程中,我使用Fastlane对每个PR进行此操作:
sh("Flutter build ios")
build_app(export_method: method)
我担心自己做同一件事的2倍,第一次是用Flutter构建,然后是本机XCode。
我有两个问题:
解决方法
答案是将 update_code_signing_settings
与配置文件名称一起用于每个导出方法,以便构建使用配置文件自行配置:
# method could be 'ad-hoc' or app-store
update_code_signing_settings(profile_name: "My export method profile")
build_app(export_method: method)