Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Tracked by #108 ...
buenaflor opened this issue Feb 29, 2024 · 1 comment
Closed
Tracked by #108 ...

Comments

@buenaflor
Copy link
Contributor

buenaflor commented Feb 29, 2024

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

@buenaflor buenaflor changed the title Better support for tests not working on cocoa targets [Gradle Plugin] Better support for tests not working on cocoa targets Mar 6, 2024
@buenaflor
Copy link
Contributor Author

Fixed by plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

1 participant