Reputation: 15936
I need to deploy my app ad-hoc and to the play store, currently in my CI flow I do this for every PR with Fastlane:
sh("flutter build ios")
build_app(export_method: method)
ad-hoc
or app-store
.I was worried that I'm doing 2 times the same thing, first time I build with flutter and then with native XCode.
I have two questions:
Upvotes: 1
Views: 909
Reputation: 15936
The answer is to use update_code_signing_settings
with profile name for each export method so the build configure itself with the profile:
# method could be 'ad-hoc' or app-store
update_code_signing_settings(profile_name: "My export method profile")
build_app(export_method: method)
Upvotes: 1