You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: Readme.md
+16-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Regular users probably want to include this library to use [R.swift](https://git
10
10
11
11
### CocoaPods (recommended)
12
12
13
-
_**Be aware:** If you just want to use R.swift follow the install instructions for R.swift._
13
+
_**Be aware:** If you just want to use R.swift follow the [installation instructions for R.swift](https://github.com/mac-cain13/R.swift#Installation)._
14
14
15
15
1. Add `pod 'R.swift.Library'` to your [Podfile](http://cocoapods.org/#get_started)
16
16
2. Run `pod install`
@@ -20,6 +20,21 @@ _**Be aware:** If you just want to use R.swift follow the install instructions f
20
20
1. Add `github "mac-cain13/R.swift.Library"` to your [Cartfile](https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#cartfile)
21
21
2. Run `carthage`
22
22
23
+
### Manually
24
+
25
+
_As an embedded framework using git submodules._
26
+
27
+
0. If your project is not yet a git repository, run `git init`
28
+
1. Add R.swift.Library as a submodule by running: `git submodule add https://github.com/mac-cain13/R.swift.Library.git`
29
+
3. Open the new `R.swift.Library` folder, and drag the `R.swift.Library.xcodeproj` into the Project Navigator of your application's Xcode project.
30
+
4. Select the `R.swift.Library.xcodeproj` in the Project Navigator and verify the deployment target matches that of your application target.
31
+
5. Select your application project in the Project Navigator (blue project icon) to navigate to the target configuration window and select the application target under the "Targets" heading in the sidebar.
32
+
6. In the tab bar at the top of that window, open the "General" panel.
33
+
7. Click on the `+` button under the "Embedded Binaries" section.
34
+
8. Choose the `Rswift.framework`
35
+
36
+
> The `Rswift.framework` is automagically added as a target dependency, linked framework and embedded framework in a copy files build phase which is all you need to build on the simulator and a device.
37
+
23
38
## License
24
39
25
40
[R.swift](https://github.com/mac-cain13/R.swift) and [R.swift.Library](https://github.com/mac-cain13/R.swift.Library) are created by [Mathijs Kadijk](https://github.com/mac-cain13) and released under a [MIT License](License).
0 commit comments