Navigation Menu

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

tuist cache warm --xcframeworks fails if a target generates a documentation archive #4984

Closed
waltflanagan opened this issue Jan 18, 2023 · 0 comments · Fixed by #4986
Closed
Labels
type:bug Something isn't working

Comments

@waltflanagan
Copy link
Collaborator

What happened?

Running tuist cache warm -x fails when a framework has a docc documentation catalog and the build setting RUN_DOCUMENTATION_COMPILER set to YES.

How do we reproduce it?

  1. clone https://github.com/waltflanagan/tuist-bug-docc
  2. run tuist cache warm -x
  3. observe caching failes with: “TuistBugKit.framework” couldn’t be copied to “ios-arm64” because an item with the same name already exists.

Error log

Archive Succeeded
“TuistBugKit.framework” couldn’t be copied to “ios-arm64” because an item with the same name already exists.
The 'xcodebuild' command exited with error code 70

macOS version

13.1

Tuist version

3.15.0

Xcode version

14.2

@waltflanagan waltflanagan added the type:bug Something isn't working label Jan 18, 2023
waltflanagan added a commit to waltflanagan/tuist that referenced this issue Jan 18, 2023
If other products (like documentation archives) share a name with the framework prodcuts, we will end up with duplicate entries in `productNames`.  This will cause errors when moving files as duplicates will exist.

Fixes tuist#4984
@danieleformichelli danieleformichelli changed the title cache warm -x fails if a framework generates a documentation archive Fix for tuist cache warm --xcframeworks fails if a target generates a documentation archive Jan 19, 2023
@danieleformichelli danieleformichelli changed the title Fix for tuist cache warm --xcframeworks fails if a target generates a documentation archive tuist cache warm --xcframeworks fails if a target generates a documentation archive Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant