How to include assets / resources in a Swift Package Manager library?

后端 未结 6 802
挽巷
挽巷 2020-12-15 15:35

I would like to ship my library using Apple\'s Swift Package Manager. However my lib includes a .bundle file with several strings translated in different languages. Using co

6条回答
  •  一整个雨季
    2020-12-15 15:48

    The package manager does not yet have any definition for how resources will be bundled with targets. We are aware of the need for this, but don't yet have a concrete proposal for it. I filed https://bugs.swift.org/browse/SR-2866 to ensure we have a bug tracking this.

提交回复
热议问题