Closed samadhiBot closed 6 months ago
Hey @samadhiBot 👋
I am closing this as a duplicate of: https://github.com/tuist/tuist/issues/5988
We will try to have a look at this next week 🙏 In the meantime, you will have to use the Xcode vanilla integration via packages
without being able to cache this dependency just yet.
Any update on this?
What happened?
When attempting to include PointFree's InlineSnapshotTesting library as a dependency,
tuist cache
fails with a slew of❌ error: Multiple commands produce '/var/folders/**/*.framework'
errors and warnings.The normal
SnapshotTesting
library caches without any problem, but it's significantly different in that it doesn't use macros. I looked for any conflicts between TCA and SnapshotTesting'sswift-syntax
dependency versions, but these appear to be okay.How do we reproduce it?
Sample project app_with_swift_macro.zip
Run
Expected All dependencies to cache.
Actual Caching fails with the error log below.
I also noticed that neither
SnapshotTesting
norInlineSnapshotTesting
appeared in the "Targets to be cached" listing. I attempted to includeInlineSnapshotTesting
as an uncached package, but it wasn't recognized when I attempted to import it in the test files.In the sample project I've only attempted to include
InlineSnapshotTesting
in the single target. In my real application I'm trying to use it in a test target, but the result is the same.Error log
macOS version
14.2.1
Tuist version
4.3.4, 4.4.0
Xcode version
15.2, 15.3RC