From fb41fe688d9e5c7356d5d044792d6ca4439564b4 Mon Sep 17 00:00:00 2001 From: Jakob Andersen Date: Wed, 8 Mar 2017 09:00:59 +0100 Subject: [PATCH] Add podspec to Flutter iOS framework. (flutter/engine#3467) * Add podspec to Flutter iOS framework. Flutter iOS apps are already pod-enabled, so we might as well turn the engine framework into a pod, so we don't have to manually copy the current Flutter.framework into the app directory on every build, but rather let Cocoapods wire things up for us. For that to happen, we need a pod spec for Flutter.framework. This spec will not be published, but rather downloaded as part of the engine artifacts, and the app's Podfile will have a local path dependency on it. * Update licenses_golden... --- .../darwin/ios/framework/Flutter.podspec | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 engine/src/flutter/shell/platform/darwin/ios/framework/Flutter.podspec diff --git a/engine/src/flutter/shell/platform/darwin/ios/framework/Flutter.podspec b/engine/src/flutter/shell/platform/darwin/ios/framework/Flutter.podspec new file mode 100644 index 0000000000..42a100a2c5 --- /dev/null +++ b/engine/src/flutter/shell/platform/darwin/ios/framework/Flutter.podspec @@ -0,0 +1,18 @@ +# +# NOTE: This podspec is NOT to be published. It is only used as a local source! +# + +Pod::Spec.new do |s| + s.name = 'Flutter Engine' + s.version = '1.0.0' + s.summary = 'High-performance, high-fidelity mobile apps.' + s.description = <<-DESC +Flutter provides an easy and productive way to build and deploy high-performance mobile apps for Android and iOS. + DESC + s.homepage = 'https://flutter.io' + s.license = { :type => 'MIT', :file => '../../../../../LICENSE' } + 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 = '7.0' + s.vendored_frameworks = 'Flutter.framework' +end