-
-
Notifications
You must be signed in to change notification settings - Fork 602
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
Xcode 15: Foundation in iOS 17/macOS Sonoma has a new Predicate
type which can conflict with Nimble's Predicate
.
#1061
Comments
Hello @younata , this seems to be a problem when running tests on visionOS |
For those watching this issue: #1090 will rename Nimble's I'm open to names other than |
Nimble 13 RC 1 is available for use, which addresses this issue. Assuming there's no major changes needed, I'll release it as Nimble 13. |
Nimble 13 is now released, with no changes made to the RC. I'll be unpinning this issue now. |
If you're running Xcode 15, and create a Nimble matcher in a file that also imports Foundation, you'll get a bunch of
'Predicate' is ambiguous for type lookup in this context
type build errors.This can be fixed by disambiguating which
Predicate
you're using - i.e.Nimble.Predicate
instead of simplyPredicate
.Edit: This can also be addressed with
typealias Predicate = Nimble.Predicate
. Which works throughout the entire module.If this is a large enough problem for people, we
mightwill look into renaming thePredicate
API, or providing a typealias for the API.The text was updated successfully, but these errors were encountered: