tuist
tuist copied to clipboard
Support system framework search paths for xcframeworks
What happened?
I added an .xcframework TargetDepedency to my project. one of the framework's headers generated a warning that is treated as an error. The reason for that is that tuist automatically adds the path of any dependency added through .xcframework(path:) to "FRAMEWORKS_SEARCH_PATHS" and not "SYSTEM_FRAMEWORKS_SEARCH_PATHS", thus generating warnings for the public header. I think there should be some api allowing us to choose whether an xcframework is included as a system framework and not a regular one. apple doc reference - https://xcodebuildsettings.com/#system_framework_search_paths
Thanks!
How do we reproduce it?
simply add any xcframework as a target dependency that has warnings. for example FBLPromises
Error log
there's no specific error log
macOS version
12.5.1
Tuist version
3.9.0
Xcode version
13.4.1