mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-13 01:18:56 +08:00
Updating iOS setup to accommodate pre-1.7.4
This commit is contained in:
@@ -65,7 +65,7 @@ Once you've acquired the CodePush plugin, you need to integrate it into the Xcod
|
||||
### Plugin Installation (iOS)
|
||||
|
||||
1. Open your app's Xcode project
|
||||
2. Find the `CodePush.xcodeproj` file within the `node_modules/react-native-code-push/ios` directory, and drag it into the `Libraries` node in Xcode
|
||||
2. Find the `CodePush.xcodeproj` file within the `node_modules/react-native-code-push/ios` directory (for <=1.7.3-beta installations, it's located in `node_modules/react-native-code-push`) and drag it into the `Libraries` node in Xcode
|
||||
|
||||

|
||||
|
||||
@@ -81,7 +81,7 @@ Once you've acquired the CodePush plugin, you need to integrate it into the Xcod
|
||||
*Note: Alternatively, if you prefer, you can add the `-lz` flag to the `Other Linker Flags` field in the `Linking` section of the `Build Settings`.*
|
||||
|
||||
6. Under the "Build Settings" tab of your project configuration, find the "Header Search Paths" section and edit the value.
|
||||
Add a new value, `$(SRCROOT)/../node_modules/react-native-code-push/ios` and select "recursive" in the dropdown.
|
||||
Add a new value, `$(SRCROOT)/../node_modules/react-native-code-push` and select "recursive" in the dropdown.
|
||||
|
||||

|
||||
|
||||
|
||||
Reference in New Issue
Block a user