[swift-users] Package Manager on iOS
dmishe at me.com
Sat Dec 5 21:42:18 CST 2015
> On Dec 4, 2015, at 5:39 PM, Daniel Dunbar <daniel_dunbar at apple.com> wrote:
>> On Dec 4, 2015, at 4:36 PM, Dmitry Shevchenko <dmishe at me.com <mailto:dmishe at me.com>> wrote:
>> The package manager documentation says:
>> "Note that at this time the Package Manager has no support for iOS, watchOS, or tvOS platforms.”
>> https://github.com/apple/swift-package-manager/blob/master/Documentation/Package.swift.md#depending-on-apple-modules-eg-foundation <https://github.com/apple/swift-package-manager/blob/master/Documentation/Package.swift.md#depending-on-apple-modules-eg-foundation>
>> 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 :)
> - Daniel
>> Thank you.
>> swift-users mailing list
>> swift-users at swift.org <mailto:swift-users at swift.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-users