From 60ce88a761a64c4e1fbc6c01d77f7965729ba658 Mon Sep 17 00:00:00 2001 From: David Iglesias Teixeira Date: Wed, 13 Jan 2021 12:01:18 -0800 Subject: [PATCH] [file_selector_web] Add dummy ios directory. This is required so the plugin is publishable. --- .../file_selector_web/CHANGELOG.md | 4 ++++ .../ios/file_selector_web.podspec | 21 +++++++++++++++++++ .../file_selector_web/pubspec.yaml | 2 +- 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 packages/file_selector/file_selector_web/ios/file_selector_web.podspec diff --git a/packages/file_selector/file_selector_web/CHANGELOG.md b/packages/file_selector/file_selector_web/CHANGELOG.md index cf87cfec36fd..619aa769d5f6 100644 --- a/packages/file_selector/file_selector_web/CHANGELOG.md +++ b/packages/file_selector/file_selector_web/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.7.0+1 + +- Add dummy `ios` dir, so flutter sdk can be lower than 1.20 + # 0.7.0 - Initial open-source release. diff --git a/packages/file_selector/file_selector_web/ios/file_selector_web.podspec b/packages/file_selector/file_selector_web/ios/file_selector_web.podspec new file mode 100644 index 000000000000..20656121029d --- /dev/null +++ b/packages/file_selector/file_selector_web/ios/file_selector_web.podspec @@ -0,0 +1,21 @@ +# +# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html +# +Pod::Spec.new do |s| + s.name = 'file_selector_web' + s.version = '0.0.1' + s.summary = 'No-op implementation of file_selector_web web plugin to avoid build issues on iOS' + s.description = <<-DESC + temp fake file_selector_web plugin + DESC + s.homepage = 'https://github.com/flutter/plugins/tree/master/packages/file_selector/file_selector_web' + s.license = { :file => '../LICENSE' } + s.author = { 'Flutter Team' => 'flutter-dev@googlegroups.com' } + s.source = { :path => '.' } + s.source_files = 'Classes/**/*' + s.public_header_files = 'Classes/**/*.h' + s.dependency 'Flutter' + + s.ios.deployment_target = '8.0' + end + \ No newline at end of file diff --git a/packages/file_selector/file_selector_web/pubspec.yaml b/packages/file_selector/file_selector_web/pubspec.yaml index c8e0eef56276..a170d5f39607 100644 --- a/packages/file_selector/file_selector_web/pubspec.yaml +++ b/packages/file_selector/file_selector_web/pubspec.yaml @@ -1,7 +1,7 @@ name: file_selector_web description: Web platform implementation of file_selector homepage: https://github.com/flutter/plugins/tree/master/packages/file_selector/file_selector_web -version: 0.7.0 +version: 0.7.0+1 flutter: plugin: