Package Manager on iOS

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

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?

Thank you.

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

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.

- Daniel

···

On Dec 4, 2015, at 4:36 PM, Dmitry Shevchenko <dmishe@me.com> wrote:

Thank you.

_______________________________________________
swift-users mailing list
swift-users@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=

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

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 <daniel_dunbar@apple.com> wrote:

On Dec 4, 2015, at 4:36 PM, Dmitry Shevchenko <dmishe@me.com <mailto:dmishe@me.com>> wrote:

- Daniel

Thank you.

_______________________________________________
swift-users mailing list
swift-users@swift.org <mailto:swift-users@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=

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

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

···

On Dec 5, 2015, at 7:42 PM, Dmitry Shevchenko <dmishe@me.com> wrote:

On Dec 4, 2015, at 5:39 PM, Daniel Dunbar <daniel_dunbar@apple.com <mailto:daniel_dunbar@apple.com>> wrote:

On Dec 4, 2015, at 4:36 PM, Dmitry Shevchenko <dmishe@me.com <mailto:dmishe@me.com>> wrote:

- Daniel

Thank you.

_______________________________________________
swift-users mailing list
swift-users@swift.org <mailto:swift-users@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=&gt;