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

Add Support for Swift Package Manager #33

Merged
merged 1 commit into from Jul 29, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// swift-tools-version:5.0

import PackageDescription

let package = Package(
name: "R.swift.Library",
platforms: [
.iOS(.v8)
],
products: [
.library(name: "Rswift", targets: ["Rswift"])
],
targets: [
.target(name: "Rswift", path: "Library")
]
)
9 changes: 9 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -20,6 +20,15 @@ _**Be aware:** If you just want to use R.swift follow the [installation instruct
1. Add `github "mac-cain13/R.swift.Library"` to your [Cartfile](https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#cartfile)
2. Run `carthage`

### Swift Package Manager (Requires Xcode 11)

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

### Manually

_As an embedded framework using git submodules._