Use Package Manager for iOS Development

Dear Swift Users,
I’d like to use the Swift Package Manager for my dependency management - regardless of it’s early stage:

Something like having the Swift Package Manager doing all the dependency management work from terminal and using the current Xcode stable release for building an iOS App Store compatible App afterwards (obviously the grabbed dependencies have to support Swift 2.2 Syntax in order for this to work).

Is it possible to do so right now? And If so, how?

mit sonnigen Grüssen

MARCO
kowalski

+41 44 341 8000
marco@mandelkind.swiss

MANDELKIND eG Schweiz
Bahnhofstrasse 100
CH-8001 Zürich

Dear Swift Users,
I’d like to use the Swift Package Manager for my dependency management
- regardless of it’s early stage:
Something like having the Swift Package Manager doing all the
dependency management work from terminal and using the current Xcode
stable release for building an iOS App Store compatible App afterwards
(obviously the grabbed dependencies have to support Swift 2.2 Syntax
in order for this to work).
Is it possible to do so right now? And If so, how?

I doubt Swift 2.2 will allow such a thing to work easily. Mostly because
Swift 2.2 doesn't ship with SwiftPM. Therefore to get SwiftPM working
right off the bat extra work is going to be necessary.

···

On Thu, Apr 14, 2016, at 07:54 AM, Marco Betschart via swift-users wrote:

mit sonnigen Grüssen

MARCO
*kowalski***

+41 44 341 8000
marco@mandelkind.swiss

MANDELKIND eG Schweiz
Bahnhofstrasse 100
CH-8001 Zürich

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

You can use the Swift 3 `swift build` to generate projects for Swift 2.2 use.

SwiftPM generates dylibs, not frameworks (currently), this may make things trickier.

But there shouldn’t be anything stopping you trying to make iOS app against them. I suggest generating a dependencies project, dragging and dropping that project into your App project and then depending against the targets in the generated project.

···

On Apr 14, 2016, at 4:54 AM, Marco Betschart via swift-users <swift-users@swift.org> wrote:

Dear Swift Users,
I’d like to use the Swift Package Manager for my dependency management - regardless of it’s early stage:

Something like having the Swift Package Manager doing all the dependency management work from terminal and using the current Xcode stable release for building an iOS App Store compatible App afterwards (obviously the grabbed dependencies have to support Swift 2.2 Syntax in order for this to work).

Is it possible to do so right now? And If so, how?

mit sonnigen Grüssen

MARCO
kowalski

+41 44 341 8000
marco@mandelkind.swiss <mailto:marco@mandelkind.swiss>

MANDELKIND eG Schweiz
Bahnhofstrasse 100
CH-8001 Zürich

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