This repository was archived by the owner on Sep 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -7,3 +7,4 @@ fastlane/test_output
77fastlane /settoken.sh
88/build
99Carthage /Build
10+ .swiftpm
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+ . tvOS( . v9) ,
10+ . watchOS( . v2) ,
11+ ] ,
12+ products: [
13+ . library( name: " Rswift " , targets: [ " Rswift " ] )
14+ ] ,
15+ targets: [
16+ . target( name: " Rswift " , path: " Library " )
17+ ]
18+ )
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