Brightify / Cuckoo

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

"Cannot find XCTFail in scope" build error on Xcode 12.5 #380

Closed earthling-shruti closed 10 months ago

earthling-shruti commented 3 years ago

Building Cuckoo on Xcode 12.5 fails because 'XCTFail' is not available in scope in the MockManager.swift file. Workaround: Commenting out the XCTFail line allows the build to succeed. Edit: Adding XCTest framework to the project seems to let be build pass as well.

Veeit commented 3 years ago

I have the same issue, but adding XCTests to the project isn't the solution for me. I still have the issue