Skip to content

Commit a1ffcd2

Browse files
authored
Merge pull request #553 from awhitford/ios11
Increased iOS target for example to iOS 11
2 parents 661e278 + bfdd5a7 commit a1ffcd2

File tree

2 files changed

+23
-11
lines changed

2 files changed

+23
-11
lines changed

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'

example/ios/Runner.xcodeproj/project.pbxproj

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

99
/* Begin PBXBuildFile section */
@@ -121,7 +121,6 @@
121121
79B3CD0028FEB089678DF3A1 /* Pods-Runner.release.xcconfig */,
122122
8FF52E2FDEB6FA06D62E11ED /* Pods-Runner.profile.xcconfig */,
123123
);
124-
name = Pods;
125124
path = Pods;
126125
sourceTree = "<group>";
127126
};
@@ -167,7 +166,7 @@
167166
};
168167
};
169168
buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
170-
compatibilityVersion = "Xcode 9.3";
169+
compatibilityVersion = "Xcode 10.0";
171170
developmentRegion = en;
172171
hasScannedForEncodings = 0;
173172
knownRegions = (
@@ -358,7 +357,7 @@
358357
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
359358
GCC_WARN_UNUSED_FUNCTION = YES;
360359
GCC_WARN_UNUSED_VARIABLE = YES;
361-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
360+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
362361
MTL_ENABLE_DEBUG_INFO = NO;
363362
SDKROOT = iphoneos;
364363
SUPPORTED_PLATFORMS = iphoneos;
@@ -380,7 +379,11 @@
380379
"$(PROJECT_DIR)/Flutter",
381380
);
382381
INFOPLIST_FILE = Runner/Info.plist;
383-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
382+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
383+
LD_RUNPATH_SEARCH_PATHS = (
384+
"$(inherited)",
385+
"@executable_path/Frameworks",
386+
);
384387
LIBRARY_SEARCH_PATHS = (
385388
"$(inherited)",
386389
"$(PROJECT_DIR)/Flutter",
@@ -440,7 +443,7 @@
440443
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
441444
GCC_WARN_UNUSED_FUNCTION = YES;
442445
GCC_WARN_UNUSED_VARIABLE = YES;
443-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
446+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
444447
MTL_ENABLE_DEBUG_INFO = YES;
445448
ONLY_ACTIVE_ARCH = YES;
446449
SDKROOT = iphoneos;
@@ -489,11 +492,12 @@
489492
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
490493
GCC_WARN_UNUSED_FUNCTION = YES;
491494
GCC_WARN_UNUSED_VARIABLE = YES;
492-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
495+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
493496
MTL_ENABLE_DEBUG_INFO = NO;
494497
SDKROOT = iphoneos;
495498
SUPPORTED_PLATFORMS = iphoneos;
496-
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
499+
SWIFT_COMPILATION_MODE = wholemodule;
500+
SWIFT_OPTIMIZATION_LEVEL = "-O";
497501
TARGETED_DEVICE_FAMILY = "1,2";
498502
VALIDATE_PRODUCT = YES;
499503
};
@@ -512,7 +516,11 @@
512516
"$(PROJECT_DIR)/Flutter",
513517
);
514518
INFOPLIST_FILE = Runner/Info.plist;
515-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
519+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
520+
LD_RUNPATH_SEARCH_PATHS = (
521+
"$(inherited)",
522+
"@executable_path/Frameworks",
523+
);
516524
LIBRARY_SEARCH_PATHS = (
517525
"$(inherited)",
518526
"$(PROJECT_DIR)/Flutter",
@@ -539,7 +547,11 @@
539547
"$(PROJECT_DIR)/Flutter",
540548
);
541549
INFOPLIST_FILE = Runner/Info.plist;
542-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
550+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
551+
LD_RUNPATH_SEARCH_PATHS = (
552+
"$(inherited)",
553+
"@executable_path/Frameworks",
554+
);
543555
LIBRARY_SEARCH_PATHS = (
544556
"$(inherited)",
545557
"$(PROJECT_DIR)/Flutter",

0 commit comments

Comments
 (0)