The package manager documentation says:
"Note that at this time the Package Manager has no support for iOS, watchOS, or tvOS platforms.”
What does “support” here mean? As far as I understand it, a package product is a static library, nothing more, so what prevents me from using it
to build a iOS or any other app?
Right, now we only compile for the host platform (OS X or Linux, currently). Among other things, we currently have no knowledge (or options to choose) what SDK or architecture you are targeting. We also have no mechanisms for specifying what platforms targets are compatible with in the manifest.
Ah, sure, that makes sense.
Still, I do like the idea of having static libraries with Swift. Provided module name, this will allow for nice separation inside of my own projects.
Is there a timeline for having Xcode allow creating .a with Swift code inside? It seems that the compiler doesn’t mind, but Xcode is
On Dec 4, 2015, at 5:39 PM, Daniel Dunbar <firstname.lastname@example.org> wrote:
On Dec 4, 2015, at 4:36 PM, Dmitry Shevchenko <email@example.com <mailto:firstname.lastname@example.org>> wrote:
swift-users mailing list