Unverified Commit f63d56e4 authored by Jenn Magder's avatar Jenn Magder Committed by GitHub

App.framework must support iOS 8 for older Flutter projects (#68729)

* App.framework must support iOS 8 for older Flutter projects

* Fix test
parent 3ff334d6
...@@ -21,6 +21,6 @@ ...@@ -21,6 +21,6 @@
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1.0</string> <string>1.0</string>
<key>MinimumOSVersion</key> <key>MinimumOSVersion</key>
<string>9.0</string> <string>8.0</string>
</dict> </dict>
</plist> </plist>
...@@ -21,6 +21,6 @@ ...@@ -21,6 +21,6 @@
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1.0</string> <string>1.0</string>
<key>MinimumOSVersion</key> <key>MinimumOSVersion</key>
<string>9.0</string> <string>8.0</string>
</dict> </dict>
</plist> </plist>
...@@ -21,6 +21,6 @@ ...@@ -21,6 +21,6 @@
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1.0</string> <string>1.0</string>
<key>MinimumOSVersion</key> <key>MinimumOSVersion</key>
<string>9.0</string> <string>8.0</string>
</dict> </dict>
</plist> </plist>
...@@ -21,6 +21,6 @@ ...@@ -21,6 +21,6 @@
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1.0</string> <string>1.0</string>
<key>MinimumOSVersion</key> <key>MinimumOSVersion</key>
<string>9.0</string> <string>8.0</string>
</dict> </dict>
</plist> </plist>
...@@ -21,6 +21,6 @@ ...@@ -21,6 +21,6 @@
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1.0</string> <string>1.0</string>
<key>MinimumOSVersion</key> <key>MinimumOSVersion</key>
<string>9.0</string> <string>8.0</string>
</dict> </dict>
</plist> </plist>
...@@ -21,6 +21,6 @@ ...@@ -21,6 +21,6 @@
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1.0</string> <string>1.0</string>
<key>MinimumOSVersion</key> <key>MinimumOSVersion</key>
<string>9.0</string> <string>8.0</string>
</dict> </dict>
</plist> </plist>
...@@ -21,6 +21,6 @@ ...@@ -21,6 +21,6 @@
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1.0</string> <string>1.0</string>
<key>MinimumOSVersion</key> <key>MinimumOSVersion</key>
<string>9.0</string> <string>8.0</string>
</dict> </dict>
</plist> </plist>
...@@ -241,12 +241,9 @@ class AOTSnapshotter { ...@@ -241,12 +241,9 @@ class AOTSnapshotter {
'-arch', targetArch, '-arch', targetArch,
if (isIOS) if (isIOS)
// When the minimum version is updated, remember to update // When the minimum version is updated, remember to update
// template IPHONEOS_DEPLOYMENT_TARGET and MinimumOSVersion. // template MinimumOSVersion.
// https://github.com/flutter/flutter/pull/62902 // https://github.com/flutter/flutter/pull/62902
// Also update the podhelper.rb "deployment version too low" '-miphoneos-version-min=8.0',
// warning suppression version.
// https://github.com/flutter/flutter/pull/66590
'-miphoneos-version-min=9.0',
]; ];
const String embedBitcodeArg = '-fembed-bitcode'; const String embedBitcodeArg = '-fembed-bitcode';
......
...@@ -21,6 +21,6 @@ ...@@ -21,6 +21,6 @@
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1.0</string> <string>1.0</string>
<key>MinimumOSVersion</key> <key>MinimumOSVersion</key>
<string>9.0</string> <string>8.0</string>
</dict> </dict>
</plist> </plist>
...@@ -21,6 +21,6 @@ ...@@ -21,6 +21,6 @@
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1.0</string> <string>1.0</string>
<key>MinimumOSVersion</key> <key>MinimumOSVersion</key>
<string>9.0</string> <string>8.0</string>
</dict> </dict>
</plist> </plist>
...@@ -34,7 +34,7 @@ const FakeCommand kSdkPathCommand = FakeCommand( ...@@ -34,7 +34,7 @@ const FakeCommand kSdkPathCommand = FakeCommand(
); );
const List<String> kDefaultClang = <String>[ const List<String> kDefaultClang = <String>[
'-miphoneos-version-min=9.0', '-miphoneos-version-min=8.0',
'-dynamiclib', '-dynamiclib',
'-Xlinker', '-Xlinker',
'-rpath', '-rpath',
...@@ -54,7 +54,7 @@ const List<String> kDefaultClang = <String>[ ...@@ -54,7 +54,7 @@ const List<String> kDefaultClang = <String>[
]; ];
const List<String> kBitcodeClang = <String>[ const List<String> kBitcodeClang = <String>[
'-miphoneos-version-min=9.0', '-miphoneos-version-min=8.0',
'-dynamiclib', '-dynamiclib',
'-Xlinker', '-Xlinker',
'-rpath', '-rpath',
......
...@@ -526,7 +526,7 @@ void main() { ...@@ -526,7 +526,7 @@ void main() {
'clang', 'clang',
'-arch', '-arch',
'armv7', 'armv7',
'-miphoneos-version-min=9.0', '-miphoneos-version-min=8.0',
'-dynamiclib', '-dynamiclib',
'-Xlinker', '-Xlinker',
'-rpath', '-rpath',
...@@ -549,7 +549,7 @@ void main() { ...@@ -549,7 +549,7 @@ void main() {
'clang', 'clang',
'-arch', '-arch',
'arm64', 'arm64',
'-miphoneos-version-min=9.0', '-miphoneos-version-min=8.0',
'-dynamiclib', '-dynamiclib',
'-Xlinker', '-Xlinker',
'-rpath', '-rpath',
...@@ -635,7 +635,7 @@ void main() { ...@@ -635,7 +635,7 @@ void main() {
'clang', 'clang',
'-arch', '-arch',
'arm64', 'arm64',
'-miphoneos-version-min=9.0', '-miphoneos-version-min=8.0',
'-dynamiclib', '-dynamiclib',
'-Xlinker', '-Xlinker',
'-rpath', '-rpath',
...@@ -724,7 +724,7 @@ void main() { ...@@ -724,7 +724,7 @@ void main() {
'clang', 'clang',
'-arch', '-arch',
'arm64', 'arm64',
'-miphoneos-version-min=9.0', '-miphoneos-version-min=8.0',
'-dynamiclib', '-dynamiclib',
'-Xlinker', '-Xlinker',
'-rpath', '-rpath',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment