-
-
Notifications
You must be signed in to change notification settings - Fork 695
Closed
Labels
domain:generated-projectsIssues related to the project-generation featuresIssues related to the project-generation featurestype:bugSomething isn't workingSomething isn't working
Description
What happened?
Xcode 15 has introduced autogenerated types for Image and Color assets to provide compile check of the referenced assets.
The dependency target build fails due to missing autogenerated types/extensions for ImageResource, if it is defined as .external with .staticFramework product type and contains .xcassets in Resources.
It's possible to overcome build issue by manually adding Images.xcassets catalog to the target's "Copy Bundle Resource" build phase.
How do we reproduce it?
- Use attached sample project failing_build_with_dependency_with-resources.zip
- Generate Xcode Workspace
mise x -- tuist install && mise x -- tuist generate - Try to compile app
Error log
DependencyWithImages/Sources/DependencyWithImages/DependencyWithImages.swift:8:20: error: type 'String' has no member 'tuistLogo'
Image(.tuistLogo)
macOS version
14.7.4
Tuist version
4.43.2
Xcode version
16.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
domain:generated-projectsIssues related to the project-generation featuresIssues related to the project-generation featurestype:bugSomething isn't workingSomething isn't working
