Skip to content

Commit 4d6e120

Browse files
sogkoRichard Hua
authored andcommitted
Update README for iOS Manual plugin installation (microsoft#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
1 parent efd8d8e commit 4d6e120

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ And that's it! Isn't RNPM awesome? :)
163163
*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`.*
164164
165165
6. Under the "Build Settings" tab of your project configuration, find the "Header Search Paths" section and edit the value.
166-
Add a new value, `$(SRCROOT)/../node_modules/react-native-code-push` and select "recursive" in the dropdown.
166+
Add a new value, `$(SRCROOT)/../node_modules/react-native-code-push/ios` and select "recursive" in the dropdown.
167167
168-
![Add CodePush library reference](https://cloud.githubusercontent.com/assets/516559/10322038/b8157962-6c30-11e5-9264-494d65fd2626.png)
168+
![Add CodePush library reference](https://cloud.githubusercontent.com/assets/78585/20584750/bd58fd80-b230-11e6-9955-e624f12e500b.png)
169169
170170
### Plugin Configuration (iOS)
171171

0 commit comments

Comments
 (0)