Hive
Generate a target that contains all the licenses of external dependencies
GitHub issue · Open
In a recent conversation with a developer, we discussed how Xcode doesn’t support developers in including a copy of the licenses they depend on, which is a minimum requirement for open-source licenses. There’s an opportunity here for Tuist since we are responsible for integrating them. We could have a new target type that developers can depend on, and the target would include the licenses as resources, as well as a runtime interface that’s compatible with Objective-C to read the licenses at runtime. Here’s a first idea for how the interface could look, but please, don’t get too attached to it, this is just an early idea:
let target: Target = .target(dependencies: [.licenses])
Hi, @pepicrft. I’m Dosu, and I’m helping the tuist team manage their backlog and am marking this issue as stale.
Issue Summary:
- You proposed a new Tuist target type to aggregate licenses of external dependencies.
- The feature would include license files as resources and provide an Objective-C compatible runtime interface.
- This aims to work around Xcode’s limitation in including license copies.
- A maintainer expressed support with a “+1” but no alternative solutions have been suggested.
- The issue remains unresolved with no recent updates.
Next Steps:
- Please let me know if this issue is still relevant with the latest version of Tuist by commenting here.
- If I don’t hear back within 7 days, the issue will be automatically closed.
Thanks for your understanding and contribution!