Adopt Flutter.xcframework in tool (#71495)

This commit is contained in:
Jenn Magder
2020-12-04 13:57:11 -08:00
committed by GitHub
parent f67b94bdf6
commit d4150d3f6d
14 changed files with 275 additions and 180 deletions

View File

@@ -14,5 +14,5 @@ Flutter provides an easy and productive way to build and deploy high-performance
s.author = { 'Flutter Dev Team' => 'flutter-dev@googlegroups.com' }
s.source = { :git => 'https://github.com/flutter/engine', :tag => s.version.to_s }
s.ios.deployment_target = '8.0'
s.vendored_frameworks = 'Flutter.framework'
s.vendored_frameworks = 'Flutter.xcframework'
end

View File

@@ -30,7 +30,7 @@ end
def install_flutter_engine_pod
current_directory = File.expand_path('..', __FILE__)
engine_dir = File.expand_path('engine', current_directory)
framework_name = 'Flutter.framework'
framework_name = 'Flutter.xcframework'
copied_engine = File.expand_path(framework_name, engine_dir)
if !File.exist?(copied_engine)
# Copy the debug engine to have something to link against if the xcode backend script has not run yet.