Additional flags for xcodebuild (#83128)
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -109,6 +109,8 @@ void main() {
|
||||
'xcrun',
|
||||
'xcodebuild',
|
||||
'-exportArchive',
|
||||
'-allowProvisioningDeviceRegistration',
|
||||
'-allowProvisioningUpdates',
|
||||
'-archivePath',
|
||||
'/build/ios/archive/Runner.xcarchive',
|
||||
'-exportPath',
|
||||
|
||||
Reference in New Issue
Block a user