Skip to content

[quick_actions_ios] Xcode 16 beta 1: extension declares a conformance of imported type 'FlutterError' to imported protocols 'Error', 'Sendable' #150448

@jmagman

Description

@jmagman

"extension declares a conformance of imported type 'FlutterError' to imported protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'Flutter' introduce this conformance in the future"

- WARN  | xcodebuild:  packages/quick_actions/quick_actions_ios/ios/quick_actions_ios/Sources/quick_actions_ios/messages.g.swift:17:1: warning: extension declares a conformance of imported type 'FlutterError' to imported protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'Flutter' introduce this conformance in the future

- NOTE  | [iOS] xcodebuild:  | |- warning: extension declares a conformance of imported type 'FlutterError' to imported protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'Flutter' introduce this conformance in the future
- NOTE  | [iOS] xcodebuild:  | `- note: add '@retroactive' to silence this warning

https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8744774106861819249/+/u/Run_package_tests/validate_iOS_and_macOS_podspecs/stdout

https://github.com/flutter/packages/blob/937038cd033d2c468f871a338ec893343a09ca04/packages/quick_actions/quick_actions_ios/ios/quick_actions_ios/Sources/quick_actions_ios/messages.g.swift#L17

Swift Warning for Retroactive Conformances of External Types

Similar to #150391 though I'm not sure why it's a warning in this mode instead of an error.

Metadata

Metadata

Labels

p: pigeonrelated to pigeon messaging codegen toolp: quick_actionsQuickActions pluginpackageflutter/packages repository. See also p: labels.platform-iosiOS applications specificallyteam-ecosystemOwned by Ecosystem team

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions