From 6d2dc050b2e0be25f8bf0ed03b2fedf6f91ceddc Mon Sep 17 00:00:00 2001 From: xster Date: Mon, 12 Feb 2018 16:44:21 -0800 Subject: [PATCH] Let Xcode communicate with Apple and create new provisioning profiles and register new devices (#14589) --- packages/flutter_tools/lib/src/ios/mac.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/flutter_tools/lib/src/ios/mac.dart b/packages/flutter_tools/lib/src/ios/mac.dart index fb08fc3e1cc..db10ef43629 100644 --- a/packages/flutter_tools/lib/src/ios/mac.dart +++ b/packages/flutter_tools/lib/src/ios/mac.dart @@ -287,8 +287,11 @@ Future buildXcodeProject({ 'ONLY_ACTIVE_ARCH=YES', ]; - if (developmentTeam != null) + if (developmentTeam != null) { commands.add('DEVELOPMENT_TEAM=$developmentTeam'); + commands.add('-allowProvisioningUpdates'); + commands.add('-allowProvisioningDeviceRegistration'); + } final List contents = fs.directory(app.appDirectory).listSync(); for (FileSystemEntity entity in contents) {