From 57a565c70632c9f7001ddf53fe3d1b9ee4d20844 Mon Sep 17 00:00:00 2001 From: Tim Sneath Date: Tue, 15 Jun 2021 18:44:02 -0700 Subject: [PATCH] Clean up podspec template (#84662) --- .../lib/src/commands/build_ios_framework.dart | 6 +++--- .../Flutter/engine/Flutter.podspec.tmpl | 10 ++++++---- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/packages/flutter_tools/lib/src/commands/build_ios_framework.dart b/packages/flutter_tools/lib/src/commands/build_ios_framework.dart index 80e97941e7..bc7e9bb11f 100644 --- a/packages/flutter_tools/lib/src/commands/build_ios_framework.dart +++ b/packages/flutter_tools/lib/src/commands/build_ios_framework.dart @@ -272,14 +272,14 @@ class BuildIOSFrameworkCommand extends BuildSubCommand { Pod::Spec.new do |s| s.name = 'Flutter' s.version = '${gitTagVersion.x}.${gitTagVersion.y}.$minorHotfixVersion' # ${_flutterVersion.frameworkVersion} - s.summary = 'Flutter Engine Framework' + s.summary = 'A UI toolkit for beautiful and fast apps.' s.description = <<-DESC -Flutter is Google’s UI toolkit for building beautiful, natively compiled applications for mobile, web, and desktop from a single codebase. +Flutter is Google's UI toolkit for building beautiful, fast apps for mobile, web, desktop, and embedded devices from a single codebase. This pod vends the iOS Flutter engine framework. It is compatible with application frameworks created with this version of the engine and tools. The pod version matches Flutter version major.minor.(patch * 100) + hotfix. DESC s.homepage = 'https://flutter.dev' - s.license = { :type => 'MIT', :text => <<-LICENSE + s.license = { :type => 'BSD', :text => <<-LICENSE $licenseSource LICENSE } diff --git a/packages/flutter_tools/templates/module/ios/host_app_ephemeral/Flutter/engine/Flutter.podspec.tmpl b/packages/flutter_tools/templates/module/ios/host_app_ephemeral/Flutter/engine/Flutter.podspec.tmpl index 3a6ef67db2..07dcbe265e 100644 --- a/packages/flutter_tools/templates/module/ios/host_app_ephemeral/Flutter/engine/Flutter.podspec.tmpl +++ b/packages/flutter_tools/templates/module/ios/host_app_ephemeral/Flutter/engine/Flutter.podspec.tmpl @@ -5,14 +5,16 @@ Pod::Spec.new do |s| s.name = 'Flutter' s.version = '1.0.0' - s.summary = 'High-performance, high-fidelity mobile apps.' + s.summary = 'A UI toolkit for beautiful and fast apps.' s.description = <<-DESC -Flutter provides an easy and productive way to build and deploy high-performance mobile apps for Android and iOS. +Flutter is Google's UI toolkit for building beautiful, fast apps for mobile, web, desktop, and embedded devices from a single codebase. +This pod vends the iOS Flutter engine framework. It is compatible with application frameworks created with this version of the engine and tools. DESC - s.homepage = 'https://flutter.io' - s.license = { :type => 'MIT' } + s.homepage = 'https://flutter.dev' + s.license = 'BSD' s.author = { 'Flutter Dev Team' => 'flutter-dev@googlegroups.com' } s.source = { :git => 'https://github.com/flutter/engine', :tag => s.version.to_s } + s.documentation_url = 'https://flutter.dev/docs' s.ios.deployment_target = '8.0' s.vendored_frameworks = 'Flutter.xcframework' end