Skip to content

Test iOS and macOS on Xcode 16 beta 1 - #6942

Closed
jmagman wants to merge 2 commits into
flutter:mainfrom
jmagman:xcode-16
Closed

Test iOS and macOS on Xcode 16 beta 1#6942
jmagman wants to merge 2 commits into
flutter:mainfrom
jmagman:xcode-16

Conversation

@jmagman

@jmagmanjmagman commented Jun 17, 2024

Copy link
Copy Markdown
Member

@jmagmanjmagman changed the title iOS and macOS tests running on Xcode 16Tesst iOS and macOS on Xcode 16 beta 1Jun 17, 2024
@jmagmanjmagman changed the title Tesst iOS and macOS on Xcode 16 beta 1Test iOS and macOS on Xcode 16 beta 1Jun 17, 2024
auto-submitBot pushed a commit that referenced this pull request Jun 18, 2024
Updating to Xcode 16 exposed a new compilation error: "extension declares a conformance of imported type 'DataWithEnum' to imported protocol 'Equatable'". The [Swift Warning for Retroactive Conformances of External Types](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0364-retroactive-conformance-warning.md) proposal says:
> It does mean projects building with an older Swift will not have access to [the @retroactive] syntax, so as a source compatible fallback, a client can silence this warning by fully-qualifying all types in the extension. As an example, the above conformance can also be written as
> ```
> extension Foundation.Date: Swift.Identifiable {
> // ...
> }
> ```
> This will allow projects that need to build with multiple versions of Swift, and which have valid reason to declare such conformances, to declare them without tying their project to a newer compiler build.
So change the test to fully-qualify the types. This prevented the warning when I tried it in #6942.
Fixesflutter/flutter#150391
@jmagmanjmagman closed this Jun 21, 2024
@jmagman
jmagman deleted the xcode-16 branch June 21, 2024 23:23
@jmagman
jmagman restored the xcode-16 branch July 9, 2024 21:09
creatorpiyush pushed a commit to creatorpiyush/packages that referenced this pull request Jun 10, 2026
Updating to Xcode 16 exposed a new compilation error: "extension declares a conformance of imported type 'DataWithEnum' to imported protocol 'Equatable'". The [Swift Warning for Retroactive Conformances of External Types](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0364-retroactive-conformance-warning.md) proposal says:
> It does mean projects building with an older Swift will not have access to [the @retroactive] syntax, so as a source compatible fallback, a client can silence this warning by fully-qualifying all types in the extension. As an example, the above conformance can also be written as
> ```
> extension Foundation.Date: Swift.Identifiable {
> // ...
> }
> ```
> This will allow projects that need to build with multiple versions of Swift, and which have valid reason to declare such conformances, to declare them without tying their project to a newer compiler build.
So change the test to fully-qualify the types. This prevented the warning when I tried it in flutter#6942.
Fixesflutter/flutter#150391
bisor0627 pushed a commit to bisor0627/packages that referenced this pull request Jun 19, 2026
Updating to Xcode 16 exposed a new compilation error: "extension declares a conformance of imported type 'DataWithEnum' to imported protocol 'Equatable'". The [Swift Warning for Retroactive Conformances of External Types](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0364-retroactive-conformance-warning.md) proposal says:
> It does mean projects building with an older Swift will not have access to [the @retroactive] syntax, so as a source compatible fallback, a client can silence this warning by fully-qualifying all types in the extension. As an example, the above conformance can also be written as
> ```
> extension Foundation.Date: Swift.Identifiable {
> // ...
> }
> ```
> This will allow projects that need to build with multiple versions of Swift, and which have valid reason to declare such conformances, to declare them without tying their project to a newer compiler build.
So change the test to fully-qualify the types. This prevented the warning when I tried it in flutter#6942.
Fixesflutter/flutter#150391
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@jmagman