Let Xcode communicate with Apple and create new provisioning profiles and register new devices (#14589)
diff --git a/packages/flutter_tools/lib/src/ios/mac.dart b/packages/flutter_tools/lib/src/ios/mac.dart index fb08fc3..db10ef4 100644 --- a/packages/flutter_tools/lib/src/ios/mac.dart +++ b/packages/flutter_tools/lib/src/ios/mac.dart
@@ -287,8 +287,11 @@ 'ONLY_ACTIVE_ARCH=YES', ]; - if (developmentTeam != null) + if (developmentTeam != null) { commands.add('DEVELOPMENT_TEAM=$developmentTeam'); + commands.add('-allowProvisioningUpdates'); + commands.add('-allowProvisioningDeviceRegistration'); + } final List<FileSystemEntity> contents = fs.directory(app.appDirectory).listSync(); for (FileSystemEntity entity in contents) {