Skip to content

Conversation

@jmagman
Copy link
Member

@jmagman jmagman commented Jan 29, 2020

Description

Update Xcode compatibility version for iOS app and module templates from 3.2 to 9.2 (the default for new Xcode projects).

This prevents Xcode from dropping into a "legacy build location" state that is incompatible with Swift Package Manager.

Also, generate workspace check files so the user doesn't have new unexpected files to stage and commit after running in Xcode.

I don't think this warrants a migration since most users are not going to be importing Swift packages. The manual migration is to go into the File inspector and swap Project Format from "Xcode 3.2-compatible" to "Xcode 9.3-compatible".

Screen Shot 2020-01-28 at 4 02 54 PM

or to solve the Swift package manager sisue directly, swap File > Project Settings > Per-User Project Settings: > Advanced from Legacy to Xcode Default
73312223-10950180-41dd-11ea-9a66-98d3a140f0fd

Related Issues

Fixes #44811.

Tests

Updated create tests.

Checklist

  • I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • I signed the [CLA].
  • I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
  • I read the [Tree Hygiene] wiki page, which explains my responsibilities.
  • I updated/added relevant documentation (doc comments with ///).
  • All existing and new tests are passing.
  • The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

  • No, no existing tests failed, so this is not a breaking change.
  • Yes, this is a breaking change. If not, delete the remainder of this section.

@jmagman jmagman added tool Affects the "flutter" command-line tool. See also t: labels. t: xcode "xcodebuild" on iOS and general Xcode project management labels Jan 29, 2020
@jmagman jmagman self-assigned this Jan 29, 2020
Copy link
Contributor

@christopherfujino christopherfujino left a comment

Choose a reason for hiding this comment

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

RSLGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

platform-ios iOS applications specifically t: xcode "xcodebuild" on iOS and general Xcode project management tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Xcode 11 Swift Packages incompatible with "flutter build"

4 participants