Static Library Targets Do Not Support Resources #6172
Labels
good first issue
Good for newcomers
type:need/problem
Report needs or problems you came across that are not bugs
What problem or need do you have?
When trying to use a
Target
with type.staticLibrary
that contains resourcestuist generate
fails with error message "Target ... cannot contain resources. static library targets do not support resource". At least when used in Projects where bothdisableSynthesizedResourceAccessors
anddisableBundleAccessors
are set totrue
.This probably makes sense, but the there should be hint in the error message that this would be possible is those settings were changed.
Related Slack discussion: https://tuistapp.slack.com/archives/CCXC295QS/p1712754427922909?thread_ts=1712682908.272429&cid=CCXC295QS
Note: Maybe the same/similar issue for
.staticFramework
targets.Potential solution
No response
macOS version
14
Tuist version
4.9.0
Xcode version
15.3
The text was updated successfully, but these errors were encountered: