Ver código fonte

Fix bad markdown formatting install instructions. (#5822)

Co-authored-by: Guy Carmeli <guyca@users.noreply.github.com>
Alistair Holt 4 anos atrás
pai
commit
ca28ac23e4
1 arquivos alterados com 18 adições e 18 exclusões
  1. 18
    18
      docs/docs/Installing.md

+ 18
- 18
docs/docs/Installing.md Ver arquivo

@@ -54,24 +54,24 @@
54 54
 	@end
55 55
 	```
56 56
 
57
-a. If, in Xcode, you see the following error message in `AppDelegate.m` next to `#import "RCTBundleURLProvider.h"`: 
58
-	```
59
-	! 'RCTBundleURLProvider.h' file not found
60
-	```
61
-	This is because the `React` scheme is missing from your project. You can verify this by opening the `Product` menu and the `Scheme` submenu. 
62
-	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.
63
-
64
-	b. If, in Xcode, you see the following warning message in `AppDelegate.m` next to `#import "@implementation AppDelegate"`:
65
-	```
66
-	Class 'AppDelegate' does not conform to protocol 'RCTBridgeDelegate'
67
-	```
68
-	You can remove `RCTBridgeDelegate` from this file: `AppDelegate.h`:
69
-	```diff
70
-	- #import <React/RCTBridgeDelegate.h>
71
-	- @interface AppDelegate : UIResponder <UIApplicationDelegate, RCTBridgeDelegate>
72
-	+ @interface AppDelegate : UIResponder <UIApplicationDelegate>
73
-		...
74
-	```
57
+    a. If, in Xcode, you see the following error message in `AppDelegate.m` next to `#import "RCTBundleURLProvider.h"`: 
58
+  	```
59
+  	! 'RCTBundleURLProvider.h' file not found
60
+  	```
61
+  	This is because the `React` scheme is missing from your project. You can verify this by opening the `Product` menu and the `Scheme` submenu. 
62
+  	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.
63
+
64
+    b. If, in Xcode, you see the following warning message in `AppDelegate.m` next to `#import "@implementation AppDelegate"`:
65
+  	```
66
+  	Class 'AppDelegate' does not conform to protocol 'RCTBridgeDelegate'
67
+  	```
68
+  	You can remove `RCTBridgeDelegate` from this file: `AppDelegate.h`:
69
+  	```diff
70
+  	- #import <React/RCTBridgeDelegate.h>
71
+  	- @interface AppDelegate : UIResponder <UIApplicationDelegate, RCTBridgeDelegate>
72
+  	+ @interface AppDelegate : UIResponder <UIApplicationDelegate>
73
+  		...
74
+  	```
75 75
 
76 76
 ### Installation with CocoaPods
77 77