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

Add --build-path to tuist cache #6144

Open
fortmarek opened this issue Apr 2, 2024 · 1 comment
Open

Add --build-path to tuist cache #6144

fortmarek opened this issue Apr 2, 2024 · 1 comment
Labels
type:need/problem Report needs or problems you came across that are not bugs

Comments

@fortmarek
Copy link
Member

fortmarek commented Apr 2, 2024

What problem or need do you have?

When tuist cache fails due to a build issue, user often see an error message such as:

The 'xcodebuild' command exited with error code 65 and message:
** ARCHIVE FAILED **

The following build commands failed:
	SwiftEmitModule normal arm64 Emitting\ module\ for\ SomeFramework (in target 'SomeTarget' from project 'SomeProject')
(1 failure)

Afaik, we can't improve the error message but we should add the possibility to specify --build-path for tuist cache, as we do for tuist build. Tuist users will then be able to export it on the CI and download it to dig deeper into the issue.

@fortmarek fortmarek added the type:need/problem Report needs or problems you came across that are not bugs label Apr 2, 2024
@pepicrft
Copy link
Contributor

We should also improve the error and show something along the lines of:

Error
The caching of binaries failed while trying to run the following xcodebuild command:
xcodebuild ....
Next steps
Open the generated Xcode project, and try to build the same scheme. The build errors might shed some light ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:need/problem Report needs or problems you came across that are not bugs
Projects
None yet
Development

No branches or pull requests

2 participants