• Chris Bracken's avatar
    Use Xcode legacy build system for iOS builds (#21901) (#21994) · f8c50ea1
    Chris Bracken authored
    Xcode 10 introduces a new build system which includes stricter checks on
    duplicate build outputs.
    
    When plugins are in use, there are two competing build actions that copy
    Flutter.framework into the build application Frameworks directory:
    
      1. The Embed Frameworks build phase for the Runner project
      2. The [CP] Embed Pods Frameworks build phase that pod install creates
         in the project.
    
    Item (1) is there to ensure the framework is copied into the built app
    in the case where there are no plugins (and therefore no CocoaPods
    integration in the Xcode project). Item (2) is there because Flutter's
    podspec declares Flutter.framework as a vended_framework, and CocoaPods
    automatically adds a copy step for each such vended_framework in the
    transitive closure of CocoaPods dependencies.
    
    As an immediate fix, we opt back into the build system used by Xcode 9
    and earlier. Longer term, we need to update our templates and
    flutter_tools to correctly handle this situation.
    
    See: https://github.com/flutter/flutter/issues/20685
    f8c50ea1
Name
Last commit
Last update
..
android Loading commit data...
base Loading commit data...
commands Loading commit data...
dart Loading commit data...
fuchsia Loading commit data...
intellij Loading commit data...
ios Loading commit data...
runner Loading commit data...
test Loading commit data...
tester Loading commit data...
vscode Loading commit data...
application_package.dart Loading commit data...
artifacts.dart Loading commit data...
asset.dart Loading commit data...
build_info.dart Loading commit data...
bundle.dart Loading commit data...
cache.dart Loading commit data...
compile.dart Loading commit data...
context_runner.dart Loading commit data...
crash_reporting.dart Loading commit data...
dependency_checker.dart Loading commit data...
devfs.dart Loading commit data...
device.dart Loading commit data...
disabled_usage.dart Loading commit data...
doctor.dart Loading commit data...
emulator.dart Loading commit data...
flutter_manifest.dart Loading commit data...
globals.dart Loading commit data...
plugins.dart Loading commit data...
project.dart Loading commit data...
protocol_discovery.dart Loading commit data...
resident_runner.dart Loading commit data...
run_cold.dart Loading commit data...
run_hot.dart Loading commit data...
services.dart Loading commit data...
template.dart Loading commit data...
tracing.dart Loading commit data...
usage.dart Loading commit data...
version.dart Loading commit data...
vmservice.dart Loading commit data...
vmservice_record_replay.dart Loading commit data...