Skip to content

[CP-beta] Increase the recommended Xcode version to Xcode 15#146440

Merged
auto-submit[bot] merged 1 commit intoflutter:flutter-3.22-candidate.0from
flutteractionsbot:cp-beta-a5fea8c795734dcfce181ce097af7cbea8aee106
Apr 8, 2024
Merged

[CP-beta] Increase the recommended Xcode version to Xcode 15#146440
auto-submit[bot] merged 1 commit intoflutter:flutter-3.22-candidate.0from
flutteractionsbot:cp-beta-a5fea8c795734dcfce181ce097af7cbea8aee106

Conversation

@flutteractionsbot
Copy link

@flutteractionsbot flutteractionsbot commented Apr 8, 2024

This pull request is created by automatic cherry pick workflow
Please fill in the form below, and a flutter domain expert will evaluate this cherry pick request.

Issue Link:

What is the link to the issue this cherry-pick is addressing?

Part of #144582 (comment)

Changelog Description:

Increase the flutter doctor recommended Xcode version to Xcode 15.

Impact Description:

Update the flutter doctor validator to suggest Xcode 15 if installed version is lower.

This is to encourage upgrades, as Apple will soon be enforcing this during iOS App Store submissions.

Please note that as of April 2024 all iOS and iPadOS apps submitted to the App Store must be built with a minimum of Xcode 15 and the iOS 17 SDK.

https://developer.apple.com/ios/submit/

It's also to encourage updates before Swift Package Manager requires this version in #146256.

Workaround:

N/A

Risk:

What is the risk level of this cherry-pick?

  • Low
  • Medium
  • High

Test Coverage:

Are you confident that your fix is well-tested by automated tests?

  • Yes
  • No

Validation Steps:

Install and xcode-select Xcode 14.x or lower. Run flutter doctor. See

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

Xcode 15 will be required for iOS App Store submission 
> Please note that as of April 2024 all iOS and iPadOS apps submitted to the App Store must be built with a minimum of Xcode 15 and the iOS 17 SDK.

https://developer.apple.com/ios/submit/

And will also be required for Swift Package Manager support flutter#146256.

We could swap to "required" but macOS developers don't technically need to upgrade.  We can let the Store itself enforce its policies.  And we can swap to Xcode 15 "required" when SPM adoption is further along.

Part of flutter#144582
@flutteractionsbot flutteractionsbot added the cp: review Cherry-picks in the review queue label Apr 8, 2024
@flutteractionsbot
Copy link
Author

@jmagman please fill out the PR description above, afterwards the release team will review this request.

@github-actions github-actions bot added tool Affects the "flutter" command-line tool. See also t: labels. a: desktop Running on desktop labels Apr 8, 2024
@jmagman jmagman changed the title [CP-beta]Increase the recommended Xcode version to Xcode 15 [CP-beta] Increase the recommended Xcode version to Xcode 15 Apr 8, 2024
Copy link
Contributor

@vashworth vashworth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@godofredoc godofredoc added the autosubmit Merge PR when tree becomes green via auto submit App label Apr 8, 2024
@auto-submit auto-submit bot merged commit bc38ac0 into flutter:flutter-3.22-candidate.0 Apr 8, 2024
liuyq pushed a commit to liuyq/flutter that referenced this pull request Jan 26, 2026
…#146440)

This pull request is created by [automatic cherry pick workflow](https://github.com/flutter/flutter/wiki/Flutter-Cherrypick-Process#automatically-creates-a-cherry-pick-request)
Please fill in the form below, and a flutter domain expert will evaluate this cherry pick request.

What is the link to the issue this cherry-pick is addressing?

Part of flutter#144582 (comment)

Increase the `flutter doctor` recommended Xcode version to Xcode 15.

Update the `flutter doctor` validator to suggest Xcode 15 if installed version is lower.

This is to encourage upgrades, as Apple will soon be enforcing this during iOS App Store submissions.
> Please note that as of April 2024 all iOS and iPadOS apps submitted to the App Store must be built with a minimum of Xcode 15 and the iOS 17 SDK.

https://developer.apple.com/ios/submit/

It's also to encourage updates before Swift Package Manager requires this version in flutter#146256.

N/A

What is the risk level of this cherry-pick?

Are you confident that your fix is well-tested by automated tests?

Install and `xcode-select` Xcode 14.x or lower.  Run `flutter doctor`.  See
```
[!] Xcode - develop for iOS and macOS (Xcode 15.3)
    � Flutter requires Xcode 14 or higher.
      Download the latest version or update via the Mac App Store.
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: desktop Running on desktop autosubmit Merge PR when tree becomes green via auto submit App cp: review Cherry-picks in the review queue tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants