-
Notifications
You must be signed in to change notification settings - Fork 637
Support for xcode 15b1 #737
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
Support for xcode 15b1 #737
Conversation
| #if os(macOS) | ||
| import AppKit | ||
| import Cocoa | ||
| import QuartzCore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are warnings only with Xcode 15. Bit odd that they show up given that Cocoa is there. Perhaps a b1 issue only?
| /// A snapshot strategy for comparing bezier paths based on pixel equality. | ||
| /// | ||
| /// - Parameter numberFormatter: The number formatter used for formatting points. | ||
| @available(macOS 11.0, *) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These two availability attributes are the only ones truly required to fix the build with Xcode 15.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a baffling diff, not sure why that comes out so differently - nor how that passes with Xcode 13.4.1 after the change.
stephencelis
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Some of the artifacts are puzzling but will investigate outside of merging.
#116) [](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [pointfreeco/swift-snapshot-testing](https://togithub.com/pointfreeco/swift-snapshot-testing) | patch | `from: "1.11.0"` -> `from: "1.11.1"` | --- ### Release Notes <details> <summary>pointfreeco/swift-snapshot-testing (pointfreeco/swift-snapshot-testing)</summary> ### [`v1.11.1`](https://togithub.com/pointfreeco/swift-snapshot-testing/releases/tag/1.11.1) [Compare Source](https://togithub.com/pointfreeco/swift-snapshot-testing/compare/1.11.0...1.11.1) #### What's Changed - Fixed: Xcode 15 support (thanks [@​finestructure](https://togithub.com/finestructure), [https://github.com/pointfreeco/swift-snapshot-testing/pull/737](https://togithub.com/pointfreeco/swift-snapshot-testing/pull/737)). - Infrastructure: Add PreviewSnapshots to README "Plug-ins" (thanks [@​jflan-dd](https://togithub.com/jflan-dd), [https://github.com/pointfreeco/swift-snapshot-testing/pull/696](https://togithub.com/pointfreeco/swift-snapshot-testing/pull/696)) **Full Changelog**: pointfreeco/swift-snapshot-testing@1.11.0...1.11.1 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/powerhome/PlaybookSwift). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNDQuMiIsInVwZGF0ZWRJblZlciI6IjM1LjE0NC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This makes the project build on macOS 13 Ventura with Xcode 15.0b1. Tests also pass (same OS version) with Xcode 14.3.1, which seems a bit odd since there were snapshot diffs. I didn't go back and test
mainwith Xcode 14.3.1 but I believe it would meanmainwouldn't pass with Xcode 13.4.1 on macOS 13 Ventura 🤷♂️Not sure if this is useful at this stage but since we use snapshot testing in SPI-Server and it failed the build due to these errors, I thought I'd start the discussion :)