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:
Hafiz Ismail
2016-11-29 04:51:53 +08:00
committed by Richard Hua
parent efd8d8e01e
commit 4d6e120e58

View File

@@ -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.
![Add CodePush library reference](https://cloud.githubusercontent.com/assets/516559/10322038/b8157962-6c30-11e5-9264-494d65fd2626.png)
![Add CodePush library reference](https://cloud.githubusercontent.com/assets/78585/20584750/bd58fd80-b230-11e6-9955-e624f12e500b.png)
### Plugin Configuration (iOS)