Brightify / Cuckoo

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

Cuckoo + SPM = Not working (Cannot find 'Glibc' in scope for XcodeProj dependency) #514

Closed DmitryKalenkov closed 1 month ago

DmitryKalenkov commented 1 month ago

Hello! I faced with an issue, my steps: Add Package Dependency > https://github.com/Brightify/Cuckoo.git Add 2 Packages (Cuckoo, CuckooGenerator) to test Target. GOTO > Build Phases > Run Build Tool Plug-ins > add CuckooPluginSingleFile(Cuckoo)

Build teset target (Cmd+shift+U) > Build failed Package from CuckooGenerator, XcodeProj mark an error: "Cannot find 'Glibc' in scope". Screen2 Screen1

Screenshot_24-10-04

What am i doing wrong? Thanks!

MatyasKriz commented 1 month ago

Hey, simply remove the CuckooGenerator dependency and you're set. We'll need to find a way to not offer that target in Xcode, because this happens pretty often.