Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Commit aea06ee

Browse files
committed
Add support for Swift Package Manager
1 parent 4002f22 commit aea06ee

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

Package.swift

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// swift-tools-version:5.0
2+
3+
import PackageDescription
4+
5+
let package = Package(
6+
name: "R.swift.Library",
7+
platforms: [
8+
.iOS(.v8)
9+
],
10+
products: [
11+
.library(name: "Rswift", targets: ["Rswift"])
12+
],
13+
targets: [
14+
.target(name: "Rswift", path: "Library")
15+
]
16+
)

Readme.md

+9
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ _**Be aware:** If you just want to use R.swift follow the [installation instruct
2020
1. Add `github "mac-cain13/R.swift.Library"` to your [Cartfile](https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#cartfile)
2121
2. Run `carthage`
2222

23+
### Swift Package Manager (Requires Xcode 11)
24+
25+
1. Open your Xcode project.
26+
2. Select `File > Swift Packages > Add Package Dependency...`
27+
3. Paste `https://github.com/mac-cain13/R.swift.Library` to the text field and click on the `Next` button.
28+
4. Choose appropriate version and click on the `Next` button. (If you need latest one, just click on the `Next` button.)
29+
5. Confirm that `Rswift` in the Package Product column is checked and your app's name is selected in the Add to Target column.
30+
6. Click on the `Next` button.
31+
2332
### Manually
2433

2534
_As an embedded framework using git submodules._

0 commit comments

Comments
 (0)