Can Swift Package Manager embed one executable inside another?


Swift Package Manager now allows localizable resources to be included within a Swift package, but it looks like all the obvious options are for adding static resources that already exist prior to build time.

Is there any way to have an executable target—say, a helper app—be built, and then included inside the main framework bundle as a resource?



This isn't supported today, but I think it could make sense to allow this in the future.

1 Like