Skip to content

[CP] [macOS] Suppress Xcode 15 createItemModels warning #139284

@cbracken

Description

@cbracken

Issue Link

#135277

Commit Hash

d71fe92

Target

stable

PR Link

#139782

Changelog Description

Eliminates an excessive amount of Xcode error/warning output to the console when building or running macOS Flutter apps.

Impacted Users

macOS developers

Impact Description

Xcode 15 emits a large amount of internal Xcode warnings during the build process. These are filtered automatically on the Xcode console but not on stderr, which resulted in them being emitted to the terminal for builds from the command line or as part of CI scripts. Impact is that legitimate warnings/errors get lost in the noise of these errors, or misreported, leading to developers wasting time chasing red herrings.

Workaround

No.

Risk

low

Test Coverage

yes

Validation Steps

Added unit tests, manual validation.

Metadata

Metadata

Assignees

Labels

cp: approvedApproved cherry-pick requestcp: reviewCherry-picks in the review queue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions