Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.13 KB

Installation.md

File metadata and controls

40 lines (29 loc) · 1.13 KB

Installing PromiseKit

We support SwiftPM:

package.dependencies.append(
    .package(url: "https://github.com/mxcl/PromiseKit", from: "7.0.0-rc1")
)

package.targets.append(
    .target(name: "", dependencies: [
        .product(name: "PromiseKit", package: "PromiseKit"),
        .product(name: "PMKFoundation", package: "PromiseKit"),
        .product(name: "PMKMapKit", package: "PromiseKit"),
    ])
)

And CocoaPods:

Please note, we have not released this CocoaPod yet. You can still use it but you will need to specify the podspec URL manually, see the Cocoapods docs.

pod "PromiseKit", "~> 7.0.0-rc1"
pod "PromiseKit/Foundation", "~> 7.0.0-rc1"
pod "PromiseKit/MapKit", "~> 7.0.0-rc1"

Considering 7.0 is still a release candidate, you may prefer to use v6.

Carthage

We will support Carthage if you can PR an automated solution for generating the .xcodeproj on release. It will need to support all our extensions.