Additional flags for xcodebuild (#83128)

This commit is contained in:
ruskryzhanovskiy
2021-06-04 03:39:05 +03:00
committed by GitHub
parent 32540774c0
commit a42159316b
2 changed files with 6 additions and 0 deletions

View File

@@ -146,6 +146,10 @@ class BuildIOSArchiveCommand extends _BuildIOSSubCommand {
...globals.xcode.xcrunCommand(),
'xcodebuild',
'-exportArchive',
if (shouldCodesign) ...<String>[
'-allowProvisioningDeviceRegistration',
'-allowProvisioningUpdates',
],
'-archivePath',
globals.fs.path.absolute(app.archiveBundleOutputPath),
'-exportPath',

View File

@@ -109,6 +109,8 @@ void main() {
'xcrun',
'xcodebuild',
'-exportArchive',
'-allowProvisioningDeviceRegistration',
'-allowProvisioningUpdates',
'-archivePath',
'/build/ios/archive/Runner.xcarchive',
'-exportPath',