Unverified Commit a4215931 authored by ruskryzhanovskiy's avatar ruskryzhanovskiy Committed by GitHub

Additional flags for xcodebuild (#83128)

parent 32540774
...@@ -146,6 +146,10 @@ class BuildIOSArchiveCommand extends _BuildIOSSubCommand { ...@@ -146,6 +146,10 @@ class BuildIOSArchiveCommand extends _BuildIOSSubCommand {
...globals.xcode.xcrunCommand(), ...globals.xcode.xcrunCommand(),
'xcodebuild', 'xcodebuild',
'-exportArchive', '-exportArchive',
if (shouldCodesign) ...<String>[
'-allowProvisioningDeviceRegistration',
'-allowProvisioningUpdates',
],
'-archivePath', '-archivePath',
globals.fs.path.absolute(app.archiveBundleOutputPath), globals.fs.path.absolute(app.archiveBundleOutputPath),
'-exportPath', '-exportPath',
......
...@@ -109,6 +109,8 @@ void main() { ...@@ -109,6 +109,8 @@ void main() {
'xcrun', 'xcrun',
'xcodebuild', 'xcodebuild',
'-exportArchive', '-exportArchive',
'-allowProvisioningDeviceRegistration',
'-allowProvisioningUpdates',
'-archivePath', '-archivePath',
'/build/ios/archive/Runner.xcarchive', '/build/ios/archive/Runner.xcarchive',
'-exportPath', '-exportPath',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment