|
|
|
|
43
|
@end
|
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
|
## Android
|
54
|
## Android
|
47
|
|
55
|
|
48
|
> 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.
|
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.
|