Something about the setup with assets inside of https://github.com/EmergeTools/SnapshotPreviews-iOS makes Tuist break when using this dependency.
Create a project with this dependency:
Package.swift
let package = Package(
name: "Package",
platforms: [
.iOS(.v16)
],
products: [
...
],
dependencies: [
.package(
url: "https://github.com/EmergeTools/SnapshotPreviews-iOS.git",
from: "0.4.3")
],
targets: [
.target(
name: "Target",
dependencies: [
.product(
name: "SnapshotPreferences",
package: "SnapshotPreviews-iOS",
condition: .when(platforms: [.macOS, .iOS])),
]
)
]
)
Run tuist install && tuist generate
CpResource /.../SnapshotPreviewsCore/AccessibilitySnapshot_AccessibilitySnapshotCore.bundle (in target 'SnapshotPreviewsCore' from project 'SnapshotPreviews')
cd ~/dev/other/tuist-test-2/Tuist/.build/tuist-derived/SnapshotPreviews
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks ~/Library/Developer/Xcode/DerivedData/TuistTest2-flktmizkeotxqhclejqianiwswwq/Build/Products/Debug-iphonesimulator/SnapshotPreviewsCore/AccessibilitySnapshot_AccessibilitySnapshotCore.bundle ~/Library/Developer/Xcode/DerivedData/TuistTest2-flktmizkeotxqhclejqianiwswwq/Build/Products/Debug-iphonesimulator/SnapshotPreviewsCore/SnapshotPreviewsCore.framework
error: ~/Library/Developer/Xcode/DerivedData/TuistTest2-flktmizkeotxqhclejqianiwswwq/Build/Products/Debug-iphonesimulator/SnapshotPreviewsCore/AccessibilitySnapshot_AccessibilitySnapshotCore.bundle: No such file or directory (in target 'SnapshotPreviewsCore' from project 'SnapshotPreviews')
14.4.1
4.9.0
15.2.0
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too