Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 7160f55

Browse files
authored
[ios_platform_images] Update minimum version to iOS 11 (#6874)
* [ios_platform_images] Update minimum version to iOS 11 * README update
1 parent 016c3b7 commit 7160f55

File tree

9 files changed

+25
-14
lines changed

9 files changed

+25
-14
lines changed

packages/ios_platform_images/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.2.2
2+
3+
* Updates minimum version to iOS 11.
4+
15
## 0.2.1+1
26

37
* Add lint ignore comments

packages/ios_platform_images/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Flutter images.
88
When loading images from Image.xcassets the device specific variant is chosen
99
([iOS documentation](https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/image-size-and-resolution/)).
1010

11-
| | iOS |
12-
|-------------|------|
13-
| **Support** | 9.0+ |
11+
| | iOS |
12+
|-------------|-------|
13+
| **Support** | 11.0+ |
1414

1515
## Usage
1616

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>9.0</string>
24+
<string>11.0</string>
2525
</dict>
2626
</plist>

packages/ios_platform_images/example/ios/Podfile

+1-1
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/ios_platform_images/example/ios/Runner.xcodeproj/project.pbxproj

+8-5
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 */
@@ -219,7 +219,7 @@
219219
97C146E61CF9000F007C117D /* Project object */ = {
220220
isa = PBXProject;
221221
attributes = {
222-
LastUpgradeCheck = 1020;
222+
LastUpgradeCheck = 1300;
223223
ORGANIZATIONNAME = "The Flutter Authors";
224224
TargetAttributes = {
225225
97C146ED1CF9000F007C117D = {
@@ -278,10 +278,12 @@
278278
/* Begin PBXShellScriptBuildPhase section */
279279
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
280280
isa = PBXShellScriptBuildPhase;
281+
alwaysOutOfDate = 1;
281282
buildActionMask = 2147483647;
282283
files = (
283284
);
284285
inputPaths = (
286+
"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
285287
);
286288
name = "Thin Binary";
287289
outputPaths = (
@@ -332,6 +334,7 @@
332334
};
333335
9740EEB61CF901F6004384FC /* Run Script */ = {
334336
isa = PBXShellScriptBuildPhase;
337+
alwaysOutOfDate = 1;
335338
buildActionMask = 2147483647;
336339
files = (
337340
);
@@ -457,7 +460,7 @@
457460
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
458461
GCC_WARN_UNUSED_FUNCTION = YES;
459462
GCC_WARN_UNUSED_VARIABLE = YES;
460-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
463+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
461464
MTL_ENABLE_DEBUG_INFO = NO;
462465
SDKROOT = iphoneos;
463466
SUPPORTED_PLATFORMS = iphoneos;
@@ -539,7 +542,7 @@
539542
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
540543
GCC_WARN_UNUSED_FUNCTION = YES;
541544
GCC_WARN_UNUSED_VARIABLE = YES;
542-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
545+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
543546
MTL_ENABLE_DEBUG_INFO = YES;
544547
ONLY_ACTIVE_ARCH = YES;
545548
SDKROOT = iphoneos;
@@ -588,7 +591,7 @@
588591
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
589592
GCC_WARN_UNUSED_FUNCTION = YES;
590593
GCC_WARN_UNUSED_VARIABLE = YES;
591-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
594+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
592595
MTL_ENABLE_DEBUG_INFO = NO;
593596
SDKROOT = iphoneos;
594597
SUPPORTED_PLATFORMS = iphoneos;

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

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

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

+4
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,9 @@
4141
</array>
4242
<key>UIViewControllerBasedStatusBarAppearance</key>
4343
<false/>
44+
<key>CADisableMinimumFrameDurationOnPhone</key>
45+
<true/>
46+
<key>UIApplicationSupportsIndirectInputEvents</key>
47+
<true/>
4448
</dict>
4549
</plist>

packages/ios_platform_images/ios/ios_platform_images.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Downloaded by pub (not CocoaPods).
1717
s.documentation_url = 'https://pub.dev/packages/ios_platform_images'
1818
s.source_files = 'Classes/**/*'
1919
s.dependency 'Flutter'
20-
s.platform = :ios, '9.0'
20+
s.platform = :ios, '11.0'
2121

2222
# Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
2323
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }

packages/ios_platform_images/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: ios_platform_images
22
description: A plugin to share images between Flutter and iOS in add-to-app setups.
33
repository: https://github.com/flutter/plugins/tree/main/packages/ios_platform_images
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+ios_platform_images%22
5-
version: 0.2.1+1
5+
version: 0.2.2
66

77
environment:
8-
sdk: ">=2.14.0 <3.0.0"
8+
sdk: '>=2.18.0 <3.0.0'
99
flutter: ">=3.3.0"
1010

1111
flutter:

0 commit comments

Comments
 (0)