Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter Xcode build output to remove noisy warnings #1468

Merged
merged 4 commits into from Sep 28, 2023

Conversation

freakboy3742
Copy link
Member

When building and Xcode project (macOS or iOS) on Xcode 14, and you have a passcode locked device (such as a phone or iPad) connected to your laptop, Xcode generates dozens of warnings about that device, even though you're not targeting that device.

Xcode 15 adds a new spicy contribution to the mix - a DVTAssertions warning that "createItemModels creation requirements should not create capability item model for a capability item model that already exists.". Whatever that means.

This PR adds an output filter so these warnings aren't surfaced to the end user. The filter is disabled in verbose mode.

Fixes #377.

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

@mhsmith mhsmith merged commit f86386f into beeware:main Sep 28, 2023
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

XCode error when physical device is attached
2 participants