Increase Xcode minimum version to 14 (#125639)

Looks like CocoaPods 1.12.1 is incompatible with < Xcode 14 due to https://github.com/CocoaPods/CocoaPods/pull/11828 (see https://github.com/flutter/flutter/issues/123890 for context).

Bump the minimum Xcode version allowed by tooling to 14, released September 2022.

```
[!] Xcode - develop for iOS and macOS (Xcode 13.4)
    ✗ Flutter requires Xcode 14 or higher.
      Download the latest version or update via the Mac App Store.
```

Fixes https://github.com/flutter/flutter/issues/125286.
Previous bump at #97746.
This commit is contained in:
Jenn Magder
2023-04-27 16:17:56 -07:00
committed by GitHub
parent eba2a520b4
commit 6b73885e2d
4 changed files with 10 additions and 10 deletions

View File

@@ -18,7 +18,7 @@ import '../base/version.dart';
import '../build_info.dart';
import '../ios/xcodeproj.dart';
Version get xcodeRequiredVersion => Version(13, null, null);
Version get xcodeRequiredVersion => Version(14, null, null);
/// Diverging this number from the minimum required version will provide a doctor
/// warning, not error, that users should upgrade Xcode.