How to package resource files (like *.jpg etc.) with Swift Package Manager?


(frogcjn) #1

Hi, All

How to package resource files (like *.jpg etc.) with Swift Package Manager?

Thanks!
Jianann


(Daniel Dunbar) #2

We don't currently have any explicit solution for this problem, and also I don't think we are actively tracking this.

Note that currently the package manager doesn't really have any features around how you "deploy" your app. Nothing is preventing you from defining your own conventions around how resources are installed and making your distribution process follow them.

If you have a concrete feature for this in mind, please file a bug at http://bugs.swift.org explaining exactly what you want to do!

- Daniel

ยทยทยท

On May 6, 2016, at 5:01 AM, Cao Jiannan via swift-users <swift-users@swift.org> wrote:

Hi, All

How to package resource files (like *.jpg etc.) with Swift Package Manager?

Thanks!
Jianann

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users