mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-05-14 02:14:52 +08:00
Update README for iOS Manual plugin installation (#620)
* Update README for iOS Manual plugin installation Wrong/incomplete path to Codepush iOS library set in the `Header Search Paths` causes Xcode to fail without specifying any errors. The path to the library should be changed from ``` $(SRCROOT)/../node_modules/react-native-code-push to $(SRCROOT)/../node_modules/react-native-code-push/ios ``` Small detail but might cause a developer significant amount of time trying to pin down the cause of the build failure, especially when Xcode does not return any useful error. The Xcode log when the header search path is wrong: ``` # Exit Status 65 Verify final result code for completed build operation Build operation failed without specifying any errors. Individual build tasks may have failed for unknown reasons. One possible cause is if there are too many (possibly zombie) processes; in this case, rebooting may fix the problem. Some individual build task failures (up to 12) may be listed below. ``` Cheers! * Update related screenshot for `Header Search Path` Update related screenshot for `Header Search Path` configuration for manual iOS plugin installation
This commit is contained in:
committed by
Richard Hua
parent
efd8d8e01e
commit
4d6e120e58
@@ -163,9 +163,9 @@ And that's it! Isn't RNPM awesome? :)
|
||||
*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` and select "recursive" in the dropdown.
|
||||
Add a new value, `$(SRCROOT)/../node_modules/react-native-code-push/ios` and select "recursive" in the dropdown.
|
||||
|
||||

|
||||

|
||||
|
||||
### Plugin Configuration (iOS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user