theappbusiness / TABTestKit

Library designed to make writing and maintaining automated tests for iOS applications. This includes automation of bio-metrics and controlling of mock servers
MIT License
59 stars 13 forks source link

Xcode 13 support #156

Closed bartzet closed 2 years ago

bartzet commented 2 years ago

👋

We are getting errors after we migrated to Xcode 13. All the tests are running just fine on Xcode 12.5

image image

Could you please make the TABTestKit compatible with Xcode 13?

theblixguy commented 2 years ago

It's already compatible as of 1.8.0. You just need to use waitFor instead of await here. In many cases you'll get an error advising you to change the name, but in some cases the compiler doesn't give the unavailability annotations a chance to fire and just infers it as a keyword instead of the await function.