tulsi
tulsi copied to clipboard
Test targets do not index if they rely on imported dynamic frameworks
During project generation, Tulsi purposely skips creating index targets for tests, because it believes it makes proper targets for tests
If a test depends on a packaged dynamic .framework
, however, the test target does not get its FRAMEWORK_SEARCH_PATH
updated with the location of those frameworks. When creating an index target, the build graph is recursively traversed to find and populate these, which is not done for non-index targets.
Though I'm confident this is a bug, I'd love to solicit feedback on if the answer is to:
- Simply make index targets for tests as well
- Recursively traverse dependencies to populate search paths for non-index targets.