File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 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+ )
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
20201 . Add ` github "mac-cain13/R.swift.Library" ` to your [ Cartfile] ( https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#cartfile )
21212 . 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._
You can’t perform that action at this time.
0 commit comments