Skip to content

[Gradle Plugin] Better support for tests not working on cocoa targets #191

@buenaflor

Description

@buenaflor

Description

Cocoa tests will not work in the following scenarios:

  • using SPM
  • packages that consume a shared package where cocoapods is set up. Example:
    • Package A is a package that is consumed by multiple other packages (maybe a package that deals with network requests).
    • Package B is the main shared package that is set up with Cocoapods and package B consumes package A as a dependency.
      • Assumption by users: since Package A is already set up with cocoapods, it will transitively work for tests in package B → it does not
      • Reason: since package B is isolated in its own package it has no reference as to where to get the binary for the cocoa SDK so naturally it will fail

Solutions

we link the framewor in the gradle plugin

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions