Brightify / Cuckoo

Boilerplate-free mocking framework for Swift!
MIT License
1.67k stars 174 forks source link

Concurrency is only available in iOS 15.0.0 or newer #413

Closed bupojung closed 2 years ago

bupojung commented 2 years ago

xcode 13.1 Cuckoo 1.6.0

run test with error " Concurrency is only available in iOS 15.0.0 or newer" the cuckoo pod swift version is 5.0 how can i fix it. image

MatyasKriz commented 2 years ago

That's actually a known issue for Xcode 13, it has been fixed in 13.2.1 I believe. 🙂

bupojung commented 2 years ago

@MatyasKriz thanks for your reply. I fix it by using cuckoo 1.5.2, since my project did not use any feature of concurrency. I will try to upgrade my xcode to 13.2.1 later

MatyasKriz commented 2 years ago

Alright, though I'll take a look at using the new version in a sample iOS 12 project, we should keep this backwards compatible, so I'll make the fix if that's not the case.

MatyasKriz commented 2 years ago

I've set up an iOS 12 project that runs just fine with Cuckoo 1.6.0 in Xcode 13.2.1, could you provide a specific call that is problematic?

MatyasKriz commented 2 years ago

I'll close this issue for now. Reopen it if it occurs again. 🙂