[swift-users] Package Manager on iOS

Daniel Dunbar daniel_dunbar at apple.com
Sat Dec 5 22:16:12 CST 2015


> On Dec 5, 2015, at 7:42 PM, Dmitry Shevchenko <dmishe at me.com> wrote:
> 
>> 
>> On Dec 4, 2015, at 5:39 PM, Daniel Dunbar <daniel_dunbar at apple.com <mailto: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:
>>> 
>>> Hello,
>>> 
>>> 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 :)

For feature requests and comments about Xcode specifically, it is better to go through bugreporter.apple.com. We can't comment on specific features or timelines for unreleased products.

 - Daniel

> 
>> 
>>  - Daniel
>> 
>>> 
>>> Thank you.
>>> 
>>> _______________________________________________
>>> swift-users mailing list
>>> swift-users at swift.org <mailto:swift-users at swift.org>
>>> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.swift.org_mailman_listinfo_swift-2Dusers&d=BQIGaQ&c=Hw-EJUFt2_D9PK5csBJ29kRV40HqSDXWTLPyZ6W8u84&r=teZCCTj9bCvNJ4SX_xKQ4SOVlaMWK9IXMlx_HMapKUU&m=X4DCt0FyGTyjcbsXyFLl3VVzasg9LFmBgHW2LwGu2qc&s=7A6Rw6Xk93sfS6tHW-6tRKbdmsZWiTmGhiw2Dknuwnc&e= <https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.swift.org_mailman_listinfo_swift-2Dusers&d=BQIGaQ&c=Hw-EJUFt2_D9PK5csBJ29kRV40HqSDXWTLPyZ6W8u84&r=teZCCTj9bCvNJ4SX_xKQ4SOVlaMWK9IXMlx_HMapKUU&m=X4DCt0FyGTyjcbsXyFLl3VVzasg9LFmBgHW2LwGu2qc&s=7A6Rw6Xk93sfS6tHW-6tRKbdmsZWiTmGhiw2Dknuwnc&e=>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20151205/2d72bcf5/attachment.html>


More information about the swift-users mailing list