我有一个使用 gym
或者 build_app
构建应用的快车道,但我还想使用 flutter build
的 --obfuscate
标志。
desc "Build - Enterprise"
lane :build_enterprise do |options|
bundle_id = options[:bundle_id]
sync_certificates_and_provisioning_profiles(
type: "enterprise",
bundle_id: bundle_id,
)
cleanup
gym(
scheme: get_scheme(bundle_id),
export_method: "enterprise",
clean: true,
include_bitcode: false,
include_symbols: true,
export_options: {
signingStyle: "manual",
provisioningProfiles: generate_enterprise_profiles(bundle_id)
}
)
end
据我所知,我可以使用
flutter build ios --obfuscate
替换gym
,但是我该如何使用gym
提供的其他参数?例如:export_method
,export_options
,include_bitcode
和include_symbols
?我的应用程序中有多个风格,在基于调试/发布应用程序或暂存/生产应用程序时使用这些参数非常有用。请注意保留HTML标记。
flutter build ipa
命令来构建应用,并指定所需的选项? - Alexandru Rusu