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 simply Predicate.
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 might will look into renaming the Predicate API, or providing a typealias for the API.
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 contexttype build errors.This can be fixed by disambiguating which
Predicateyou're using - i.e.Nimble.Predicateinstead 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 thePredicateAPI, or providing a typealias for the API.