Comments (8)
Hey @kelvinharron, a PR that would help make this clear for others in the README would definitely be appreciated if you're willing. 🙂 And good job on finding that out yourself!
from cuckoo.
I agree! Will open a PR later with an edited README
from cuckoo.
SPM noob confirmed! 😆
The problem was when adding Cuckoo via SPM, I was adding it to the app project and not the tests explicitly. Resolved now!
I'm happy to create a PR to update the README to be explicit about this if that helps!
from cuckoo.
I'm having the same issue, even if I'm adding it to the test target
from cuckoo.
@0x7067 if you create a new project and try to add cuckoo are you able to reproduce it? or is this when you try to add it to an existing projecT?
from cuckoo.
I'm having this issue adding Cuckoo to an existing project
from cuckoo.
Found out what was the issue: I had the GeneratedMocks.swift
file added to the app project's target and not the test target
from cuckoo.
Nice one, @0x7067 ! I think that would make a nice explicit addition to the project README! 😄
from cuckoo.
Related Issues (20)
- Mock restricts subclasses for method argument HOT 4
- Issue with variable name as `extension` HOT 1
- Problem with run script on Xcode 15 HOT 6
- Not able to initialise Mock Object HOT 1
- More descriptive failure messages HOT 1
- 2.0 issues HOT 3
- Unsupported attribute 'objc' HOT 4
- Protocol with primary associated type cannot be mocked HOT 4
- How to stub a objc method with a `error:(NSError **)errPtr` parameter? HOT 1
- Output definitions in Cuckoofile.toml are ignored/in conflict using CuckooPluginFile. HOT 5
- Couldn't get Cuckoo 2.0.3 to work HOT 13
- Glibc error when using Cuckoo 2.0.3: Cannot find 'Glibc' in scope HOT 11
- Generator v2: Generic Restrictions on Method missing HOT 3
- Exclude is not really excluded in cuckoofile.toml HOT 6
- PropertyObservers affecting mocked property generation. HOT 4
- accessing build database database is locked Possibly there are two concurrent builds running in the same filesystem location. HOT 2
- EXC_BAD_ACCESS on Xcode 16 Beta HOT 1
- Multiple targets conflict cmark-gfm HOT 2
- Migrate to v2 with SPM package.swift HOT 11
- Allow swift-syntax up to v510.0.3 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cuckoo.