[path_provider] Path provider windows updates (#3049)
- Adds missing iOS podspec to path_provider_windows, which was necessary to publish it (since path_provider doesn't require 1.20+)
- Requires path_provider_windows 0.0.2, not 0.0.1, in path_provider endorsement.
diff --git a/packages/path_provider/path_provider/CHANGELOG.md b/packages/path_provider/path_provider/CHANGELOG.md
index 31f7fa0..62cc4d7 100644
--- a/packages/path_provider/path_provider/CHANGELOG.md
+++ b/packages/path_provider/path_provider/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 1.6.16
+
+* Update Windows endorsement verison
+
## 1.6.15
* Endorse Windows implementation.
diff --git a/packages/path_provider/path_provider/pubspec.yaml b/packages/path_provider/path_provider/pubspec.yaml
index 982186a..4f574e9 100644
--- a/packages/path_provider/path_provider/pubspec.yaml
+++ b/packages/path_provider/path_provider/pubspec.yaml
@@ -1,7 +1,7 @@
name: path_provider
description: Flutter plugin for getting commonly used locations on host platform file systems, such as the temp and app data directories.
homepage: https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider
-version: 1.6.15
+version: 1.6.16
flutter:
plugin:
@@ -24,7 +24,7 @@
path_provider_platform_interface: ^1.0.1
path_provider_macos: ^0.0.4
path_provider_linux: ^0.0.1
- path_provider_windows: ^0.0.1
+ path_provider_windows: ^0.0.2
dev_dependencies:
integration_test:
diff --git a/packages/path_provider/path_provider_windows/ios/path_provider_windows.podspec b/packages/path_provider/path_provider_windows/ios/path_provider_windows.podspec
new file mode 100644
index 0000000..941a36c
--- /dev/null
+++ b/packages/path_provider/path_provider_windows/ios/path_provider_windows.podspec
@@ -0,0 +1,22 @@
+#
+# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
+# Run `pod lib lint path_provider_windows.podspec' to validate before publishing.
+#
+Pod::Spec.new do |s|
+ s.name = 'path_provider_windows'
+ s.version = '0.0.1'
+ s.summary = 'path_provider_windows iOS stub'
+ s.description = <<-DESC
+ No-op implementation of the windows path_provider plugin to avoid build issues on iOS
+ DESC
+ s.homepage = 'https://github.com/flutter/plugins'
+ s.license = { :type => 'BSD', :file => '../LICENSE' }
+ s.author = { 'Flutter Dev Team' => 'flutter-dev@googlegroups.com' }
+ s.source = { :http => 'https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider_windows' }
+ s.dependency 'Flutter'
+ s.platform = :ios, '8.0'
+
+ # Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
+ s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
+ s.swift_version = '5.0'
+end