Finish integrating HelloServices model on iOS (#4820)
This patch changes the default `flutter create` command to generate a
HelloServices-style app on iOS. As a consequence, the Atom integration now
fully works with HelloServices.
diff --git a/packages/flutter_tools/lib/src/ios/mac.dart b/packages/flutter_tools/lib/src/ios/mac.dart
index 163b05f..962ced7 100644
--- a/packages/flutter_tools/lib/src/ios/mac.dart
+++ b/packages/flutter_tools/lib/src/ios/mac.dart
@@ -105,16 +105,7 @@
bool codesign: true
}) async {
String flutterProjectPath = Directory.current.path;
-
- if (xcodeProjectRequiresUpdate(mode, target)) {
- printTrace('Initializing the Xcode project.');
- if ((await setupXcodeProjectHarness(flutterProjectPath, mode, target)) != 0) {
- printError('Could not initialize the Xcode project.');
- return new XcodeBuildResult(false);
- }
- } else {
- updateXcodeGeneratedProperties(flutterProjectPath, mode, target);
- }
+ updateXcodeGeneratedProperties(flutterProjectPath, mode, target);
if (!_checkXcodeVersion())
return new XcodeBuildResult(false);
@@ -130,7 +121,6 @@
'xcodebuild',
'clean',
'build',
- '-target', 'Runner',
'-configuration', 'Release',
'ONLY_ACTIVE_ARCH=YES',
];