[swift-users] How to use an SPM library in an (Xcode based) iOS project?

Georgios Moschovitis george.moschovitis at icloud.com
Thu Jan 19 04:22:33 CST 2017


I have created a nice little library with SPM ($ swift package init --type=library).
The library includes some utility classes and associated tests.
It works as expected.

Now, I would like to use this library within an iOS application.
AFAIK, SPM doesn't support iOS at the moment.

I am wondering, what is the best way to include my library in the iOS Xcode project/build?

thanks,
-g.


More information about the swift-users mailing list