Skip to content

Commit

Permalink
Merge pull request #922 from ExTBH/patch-1
Browse files Browse the repository at this point in the history
Add `https` protocol to SPM Installation
  • Loading branch information
tomlokhorst authored Nov 14, 2024
2 parents d3d19c8 + 06342f1 commit d4591bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ As of Rswift 7, Swift Package Manager is the recommended method of installation.

[Demo Video: Install R.swift in Xcode with SPM](Documentation/RswiftSPMInstallation.mp4)

1. In Project Settings, on the tab "Package Dependencies", click "+", search for `github.com/mac-cain13/R.swift` and click "Add Package".
1. In Project Settings, on the tab "Package Dependencies", click "+", search for `https://github.com/mac-cain13/R.swift` and click "Add Package".
2. Select the target that will use R.swift next to "RswiftLibrary" and click "Add Package".
4. Now click on your target, on the tab "Build Phases", in the section "Run Build Tool Plug-ins", click "+" and add `RswiftGenerateInternalResources`. ([Screenshot](Documentation/Images/RunBuildToolPluginsRswift.png))
5. Now the `R` struct should be available in your code, use auto-complete to explore all static references.
Expand Down

0 comments on commit d4591bf

Please sign in to comment.