File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ Install the package
2525
2626Link
2727
28- ` $ react-native link `
28+ ` $ react-native link react-native-version-number `
2929
3030#### Manual installation
3131
@@ -68,6 +68,20 @@ public class MainApplication extends Application implements ReactApplication {
6868}
6969```
7070
71+ ** iOS**
72+
73+ In XCode, in the project navigator:
74+
75+ Right click Libraries
76+ Add Files to [your project's name]
77+ Go to `node_modules/react-native-version-number`
78+ Add the .xcodeproj file
79+
80+ In XCode, in the project navigator, select your project.
81+
82+ Add the `libRNVersionNumber.a` from the deviceinfo project to your project's Build Phases ➜ Link Binary With Libraries
83+ Click .xcodeproj file you added before in the project navigator and go the Build Settings tab. Make sure All is toggled on (instead of Basic).
84+ Add header search path: `$(SRCROOT)/../node_modules/react-native-version-number/ios`
7185
7286## Usage
7387``` javascript
You can’t perform that action at this time.
0 commit comments