Browse Source

Update Installing.md (#3870)

Some extra help concerning a common issue that occurs with fresh install of Xcode + react native 0.56. https://github.com/react-community/create-react-native-app/issues/316#issuecomment-351371080
Spencer Kingman 6 years ago
parent
commit
5cecd814f6
1 changed files with 8 additions and 0 deletions
  1. 8
    0
      docs/docs/Installing.md

+ 8
- 0
docs/docs/Installing.md View File

@@ -43,6 +43,14 @@
43 43
 	@end
44 44
 	```
45 45
 
46
+3a. If, in Xcode, you see the following error message in `AppDelegate.m` next to `#import "RCTBundleURLProvider.h": 
47
+```
48
+! 'RCTBundleURLProvider.h' file not found
49
+```
50
+This is because the `React` scheme is missing from your project. You can verify this by opening the `Product` menu and the `Scheme` submenu. 
51
+
52
+To make the `React` scheme available to your project, run `npm install -g react-native-git-upgrade` followed by `react-native-git-upgrade`. Once this is done, you can click back to the menu in Xcode: `Product -> Scheme -> Manage Schemes`, then click '+' to add a new scheme. From the `Target` menu, select "React", and click the checkbox to make the scheme `shared`. This should make the error disappear.
53
+
46 54
 ## Android
47 55
 
48 56
 > Make sure your Android Studio installation is updated. We recommend editing `gradle` and `java` files in Android Studio as the IDE will suggest fixes and point out errors, this way you avoid most common pitfalls.