Skip to content

Commit 4e81961

Browse files
[path_provider] Update minimum iOS version to 11 (flutter#3944)
path_provider part of flutter#101965. Built the `path_provider` and `path_provider_foundation` example projects on Flutter 3.7 and let the tool auto-migrate various Xcode project/Podfile files. (These changes don't affect plugin clients, so I used the latest stable instead of 3.3.) No Flutter version update was necessary, as `path_provider_foundation` already has a minimum of 3.3.
1 parent aade286 commit 4e81961

11 files changed

Lines changed: 27 additions & 13 deletions

File tree

packages/path_provider/path_provider/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.15
2+
3+
* Updates iOS minimum version in README.
4+
15
## 2.0.14
26

37
* Updates README to use code excerpts.

packages/path_provider/path_provider/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ A Flutter plugin for finding commonly used locations on the filesystem.
77
Supports Android, iOS, Linux, macOS and Windows.
88
Not all methods are supported on all platforms.
99

10-
| | Android | iOS | Linux | macOS | Windows |
11-
|-------------|---------|------|-------|--------|-------------|
12-
| **Support** | SDK 16+ | 9.0+ | Any | 10.11+ | Windows 10+ |
10+
| | Android | iOS | Linux | macOS | Windows |
11+
|-------------|---------|-------|-------|--------|-------------|
12+
| **Support** | SDK 16+ | 11.0+ | Any | 10.11+ | Windows 10+ |
1313

1414
## Usage
1515

packages/path_provider/path_provider/example/ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@
2525
<string>arm64</string>
2626
</array>
2727
<key>MinimumOSVersion</key>
28-
<string>9.0</string>
28+
<string>11.0</string>
2929
</dict>
3030
</plist>

packages/path_provider/path_provider/example/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment this line to define a global platform for your project
2-
# platform :ios, '9.0'
2+
# platform :ios, '11.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

packages/path_provider/path_provider/example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 46;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -222,7 +222,7 @@
222222
97C146E61CF9000F007C117D /* Project object */ = {
223223
isa = PBXProject;
224224
attributes = {
225-
LastUpgradeCheck = 1100;
225+
LastUpgradeCheck = 1300;
226226
ORGANIZATIONNAME = "The Flutter Authors";
227227
TargetAttributes = {
228228
97C146ED1CF9000F007C117D = {
@@ -300,6 +300,7 @@
300300
};
301301
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
302302
isa = PBXShellScriptBuildPhase;
303+
alwaysOutOfDate = 1;
303304
buildActionMask = 2147483647;
304305
files = (
305306
);
@@ -314,6 +315,7 @@
314315
};
315316
9740EEB61CF901F6004384FC /* Run Script */ = {
316317
isa = PBXShellScriptBuildPhase;
318+
alwaysOutOfDate = 1;
317319
buildActionMask = 2147483647;
318320
files = (
319321
);
@@ -443,7 +445,7 @@
443445
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
444446
GCC_WARN_UNUSED_FUNCTION = YES;
445447
GCC_WARN_UNUSED_VARIABLE = YES;
446-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
448+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
447449
MTL_ENABLE_DEBUG_INFO = YES;
448450
ONLY_ACTIVE_ARCH = YES;
449451
SDKROOT = iphoneos;
@@ -493,7 +495,7 @@
493495
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
494496
GCC_WARN_UNUSED_FUNCTION = YES;
495497
GCC_WARN_UNUSED_VARIABLE = YES;
496-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
498+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
497499
MTL_ENABLE_DEBUG_INFO = NO;
498500
SDKROOT = iphoneos;
499501
TARGETED_DEVICE_FAMILY = "1,2";

packages/path_provider/path_provider/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1100"
3+
LastUpgradeVersion = "1300"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

packages/path_provider/path_provider/example/ios/Runner/Info.plist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,9 @@
4545
</array>
4646
<key>UIViewControllerBasedStatusBarAppearance</key>
4747
<false/>
48+
<key>CADisableMinimumFrameDurationOnPhone</key>
49+
<true/>
50+
<key>UIApplicationSupportsIndirectInputEvents</key>
51+
<true/>
4852
</dict>
4953
</plist>

packages/path_provider/path_provider/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: path_provider
22
description: Flutter plugin for getting commonly used locations on host platform file systems, such as the temp and app data directories.
33
repository: https://github.com/flutter/packages/tree/main/packages/path_provider/path_provider
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+path_provider%22
5-
version: 2.0.14
5+
version: 2.0.15
66

77
environment:
88
sdk: ">=2.17.0 <4.0.0"

packages/path_provider/path_provider_foundation/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.2.3
2+
3+
* Updates minimum iOS version to 11.
4+
15
## 2.2.2
26

37
* Updates pigeon for null value handling fixes.

packages/path_provider/path_provider_foundation/darwin/path_provider_foundation.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Pod::Spec.new do |s|
1515
s.source_files = 'Classes/**/*'
1616
s.ios.dependency 'Flutter'
1717
s.osx.dependency 'FlutterMacOS'
18-
s.ios.deployment_target = '9.0'
18+
s.ios.deployment_target = '11.0'
1919
s.osx.deployment_target = '10.11'
2020
s.ios.xcconfig = {
2121
'LIBRARY_SEARCH_PATHS' => '$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift',

0 commit comments

Comments
 (0)