Unverified Commit 6d2dc050 authored by xster's avatar xster Committed by GitHub

Let Xcode communicate with Apple and create new provisioning profiles and...

Let Xcode communicate with Apple and create new provisioning profiles and register new devices (#14589)
parent bfc68334
...@@ -287,8 +287,11 @@ Future<XcodeBuildResult> buildXcodeProject({ ...@@ -287,8 +287,11 @@ Future<XcodeBuildResult> buildXcodeProject({
'ONLY_ACTIVE_ARCH=YES', 'ONLY_ACTIVE_ARCH=YES',
]; ];
if (developmentTeam != null) if (developmentTeam != null) {
commands.add('DEVELOPMENT_TEAM=$developmentTeam'); commands.add('DEVELOPMENT_TEAM=$developmentTeam');
commands.add('-allowProvisioningUpdates');
commands.add('-allowProvisioningDeviceRegistration');
}
final List<FileSystemEntity> contents = fs.directory(app.appDirectory).listSync(); final List<FileSystemEntity> contents = fs.directory(app.appDirectory).listSync();
for (FileSystemEntity entity in contents) { for (FileSystemEntity entity in contents) {
......
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