Unverified Commit 30a0b5a5 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

Revert "[flutter_tools] split project parsing/validation into separate function (#64814)" (#65202)

This reverts commit 8eed6904.
parent 8eed6904
...@@ -318,14 +318,14 @@ class IOSDevice extends Device { ...@@ -318,14 +318,14 @@ class IOSDevice extends Device {
// TODO(chinmaygarde): Use mainPath, route. // TODO(chinmaygarde): Use mainPath, route.
_logger.printTrace('Building ${package.name} for $id'); _logger.printTrace('Building ${package.name} for $id');
// Step 1: Build the precompiled application if necessary. // Step 1: Build the precompiled/DBC application if necessary.
final XcodeBuildResult buildResult = await buildXcodeProject( final XcodeBuildResult buildResult = await buildXcodeProject(
app: package as BuildableIOSApp, app: package as BuildableIOSApp,
buildInfo: debuggingOptions.buildInfo, buildInfo: debuggingOptions.buildInfo,
targetOverride: mainPath, targetOverride: mainPath,
buildForDevice: true, buildForDevice: true,
activeArch: cpuArchitecture, activeArch: cpuArchitecture,
deviceID: id, deviceID: id,
); );
if (!buildResult.success) { if (!buildResult.success) {
_logger.printError('Could not build the precompiled application for the device.'); _logger.printError('Could not build the precompiled application for the device.');
......
This diff is collapsed.
...@@ -43,16 +43,17 @@ const List<String> kRunReleaseArgs = <String>[ ...@@ -43,16 +43,17 @@ const List<String> kRunReleaseArgs = <String>[
'-configuration', '-configuration',
'Release', 'Release',
'-quiet', '-quiet',
'-sdk',
'iphoneos',
'-workspace', '-workspace',
'Runner.xcworkspace', 'Runner.xcworkspace',
'-scheme', '-scheme',
'Runner', 'Runner',
'BUILD_DIR=/build/ios', 'BUILD_DIR=/build/ios',
'-sdk',
'iphoneos',
'ONLY_ACTIVE_ARCH=YES', 'ONLY_ACTIVE_ARCH=YES',
'ARCHS=arm64', 'ARCHS=arm64',
'COMPILER_INDEX_STORE_ENABLE=NO' 'FLUTTER_SUPPRESS_ANALYTICS=true',
'COMPILER_INDEX_STORE_ENABLE=NO',
]; ];
const String kConcurrentBuildErrorMessage = ''' const String kConcurrentBuildErrorMessage = '''
......
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