What's the relationship between Swift Package Manager and Xcode?

​Is Swift Package Manager, SPM, the competitor to Xcode packaging? Or is it
the future of Xcode packing? If it is, when will it be put into Xcode?

Also, what are the differences between built packages and Apple provided
frameworks? Are they just the same thing with different names?

Zhaoxin

If you are only building application bundles for Darwin platforms, have no interest in server Swift, you don’t *need* to look into SPM for now. But as its going to be part of Xcode soon, and if you want to help shape into something you would be interested it, its always worth looking at it now.

···

On 02 Aug 2016, at 14:24, zh ao <owenzx@gmail.com> wrote:

I have these questions because I saw SPM can build executables as well. I am wondering if I could benefit from learning SPM now or I should leave it alone.

It seems that those questions are too early to ask for one who is solely using Xcode.

Zhaoxin

Get Outlook for iOS <https://aka.ms/o0ukef>

On Tue, Aug 2, 2016 at 8:15 PM +0800, "David Hart" <david@hartbit.com <mailto:david@hartbit.com>> wrote:

I don't know what you mean by packaging. Xcode has been build responsibilities, including many which SPM does not currently address and may never will: building application bundles for Apple platforms, building resource bundles, building Darwin frameworks (I'm fairly sure SPM currently only builds simple libraries).

On the topic of what Xcode will become, this is not the place to discuss it. And I'm fairly sure you won't get any specifics from the Xcode team as it's still under Apple's umbrella of secrecy. The only thing we know or can guess is that it will get some sort of SPM integration.

On 2 Aug 2016, at 13:54, Zhao Xin via swift-users <swift-users@swift.org <mailto:swift-users@swift.org>> wrote:

​Is Swift Package Manager, SPM, the competitor to Xcode packaging? Or is it the future of Xcode packing? If it is, when will it be put into Xcode?

Also, what are the differences between built packages and Apple provided frameworks? Are they just the same thing with different names?

Zhaoxin
_______________________________________________
swift-users mailing list
swift-users@swift.org <mailto:swift-users@swift.org>
https://lists.swift.org/mailman/listinfo/swift-users

Thanks.

Zhaoxin

···

On Tue, Aug 2, 2016 at 8:29 PM, David Hart <david@hartbit.com> wrote:

If you are only building application bundles for Darwin platforms, have no
interest in server Swift, you don’t *need* to look into SPM for now. But as
its going to be part of Xcode soon, and if you want to help shape into
something you would be interested it, its always worth looking at it now.

On 02 Aug 2016, at 14:24, zh ao <owenzx@gmail.com> wrote:

I have these questions because I saw SPM can build executables as well. I
am wondering if I could benefit from learning SPM now or I should leave it
alone.

It seems that those questions are too early to ask for one who is solely
using Xcode.

Zhaoxin

Get Outlook for iOS <https://aka.ms/o0ukef>

On Tue, Aug 2, 2016 at 8:15 PM +0800, "David Hart" <david@hartbit.com> > wrote:

I don't know what you mean by packaging. Xcode has been build

responsibilities, including many which SPM does not currently address and
may never will: building application bundles for Apple platforms, building
resource bundles, building Darwin frameworks (I'm fairly sure SPM currently
only builds simple libraries).

On the topic of what Xcode will become, this is not the place to discuss
it. And I'm fairly sure you won't get any specifics from the Xcode team as
it's still under Apple's umbrella of secrecy. The only thing we know or can
guess is that it will get some sort of SPM integration.

On 2 Aug 2016, at 13:54, Zhao Xin via swift-users <swift-users@swift.org> >> wrote:

​Is Swift Package Manager, SPM, the competitor to Xcode packaging? Or is
it the future of Xcode packing? If it is, when will it be put into Xcode?

Also, what are the differences between built packages and Apple provided
frameworks? Are they just the same thing with different names?

Zhaoxin

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Well, if Xcode doesn't change its release cycle, it will take at least a year, and that certainly doesn't qualify as soon™ :face_with_monocle:
Integration in a dot release seems highly unlikely. I hope I am wrong.

I too was disappointed that SPM integration wasn’t announced.

1 Like