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

Use ValueSource to run pod commands for CocoaPods publishing #267

Open
kpgalligan opened this issue Dec 3, 2024 · 0 comments
Open

Use ValueSource to run pod commands for CocoaPods publishing #267

kpgalligan opened this issue Dec 3, 2024 · 0 comments

Comments

@kpgalligan
Copy link
Collaborator

Summary

CocoaPods publishing is very brittle, in the sense that the process runs everything, and a test of the framework before actually publishing. There are multiple potential points of failure.

We've moved external executable calls to providers.exec to support Gradle configuration cache. However, when those calls fail, Gradle does not log the error, and there is no way to get access to it. This makes debugging issues extremely difficult.

Possible Fix

Gradle provides a more complex method to execute code safely in the context of configuration cache using a ValueSource. We should move pod calls to use a ValueSource if possible in our case.

https://docs.gradle.org/current/userguide/configuration_cache.html#config_cache:requirements:external_processes

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

No branches or pull requests

1 participant