Skip to content

Cannot generate mock classes using tuist #578

@CarlitosDroid

Description

@CarlitosDroid

CONTEXT

  1. I've just created a new sample iOS project with tuist by using the following command tuist init.
  2. Then I run tuist edit to see the Package.swift and Project.swift in order to add the Cuckoo 2.1.1 dependency to my test target.
  3. After installing the dependencies with tuist install. Everything looks good.
Image Image Image

PROBLEMS

  1. I'm not able to add the CuckooPluginSingleFile plugin to the build pahses of my test target. Because it doesn't appear, it's not detected.
  2. I'm not able to generate the mocks even after adding my Cuckoofile.toml. Because I do NOT know how to install cuckoo as a command line tool. According to the documentation, they only mention SPM and Cocoapods. Is there a way to run cuckoo from command line?
Image Image Image

TOOLS

  • Xcode: 26.0.1
  • macOS: 15.6.1
  • Simulator: iPhone 17 Pro iOS 26.0
  • Cuckoo 2.1.1
  • Tuist: 4.79.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions