kif-framework / KIF

Keep It Functional - An iOS Functional Testing Framework
Other
6.2k stars 909 forks source link

fix(iOS): fix iOS 15.5 `NSPredicate` error. #1261

Closed asafkorem closed 2 years ago

asafkorem commented 2 years ago

This PR resolves #1260.

I'm not using KIF, but I fixed a similar issue in wix/Detox (here) and one of our issues regarding this error was mentioned by one of your users (here).

I was able to reproduce the error mentioned in #1260 with your tests suite, using Xcode 13.4 and iOS 15.5 Simulator.

After applying the same solution I used for Detox (replacing predicate-with-format with predicate-with-block), all tests were passed.

dostrander commented 2 years ago

@asafkorem appreciate this! Everything looks good. Going to merge and cut a release today

asafkorem commented 2 years ago

You’re welcome. Glad I could help 🙏🙂