Bläddra i källkod

add missing image step and change the alt text

Cyrus Zei 5 år sedan
förälder
incheckning
25c6481bbc
No account linked to committer's email address
1 ändrade filer med 18 tillägg och 18 borttagningar
  1. 18
    18
      docs/v2/ios.md

+ 18
- 18
docs/v2/ios.md Visa fil

@@ -84,68 +84,68 @@ post_install do |installer|
84 84
 end
85 85
 ```
86 86
 This is how your podfile should look like
87
-
87
+![Step 6](./IOS_INSTALLATION/06c.png)
88 88
 after that you can run this command again
89 89
 ```sh
90 90
 $ pod install
91 91
 ```
92 92
 
93 93
 #### 7. Open up your xcode project *[project name].xcworkspace* inside in ios folder
94
-![Step 6](./IOS_INSTALLATION/07.png)
94
+![Step 7](./IOS_INSTALLATION/07.png)
95 95
 
96 96
 #### 8. expand your project folder and right click on the *"Libraries"* folder and choose *"add files to [project name]"*
97
-![Step 6](./IOS_INSTALLATION/08.png)
97
+![Step 8](./IOS_INSTALLATION/08.png)
98 98
 
99 99
 #### 9. follow the image below to find the RCTAgora lib
100 100
 
101
-![Step 6](./IOS_INSTALLATION/09a.png)
101
+![Step 9](./IOS_INSTALLATION/09a.png)
102 102
 the path is  node_modules => react-native-agora => ios => RCTAgora.xcodeproj
103 103
 
104 104
 make sure you check so that those are checked
105 105
 
106
-![Step 6](./IOS_INSTALLATION/09b.png)
106
+![Step 9](./IOS_INSTALLATION/09b.png)
107 107
 
108 108
 If the file is greyed out it means you already have it inside of you library folder.
109 109
 Check so that RCTAgora.xcodeproj are inside of your "Libraries" folder
110
-![Step 6](./IOS_INSTALLATION/09c.png)
110
+![Step 9](./IOS_INSTALLATION/09c.png)
111 111
 
112 112
 #### 10. we need to add the framework
113 113
 expand your "Frameworks" folder and you should see the "AgoraRtcEngineKit.framework" are red.
114
-![Step 6](./IOS_INSTALLATION/10a.png)
114
+![Step 10](./IOS_INSTALLATION/10a.png)
115 115
 right click and delete that
116 116
 Left click on your "RCTAgora.xcodeproj" and clöick on "Build Phases"
117
-![Step 6](./IOS_INSTALLATION/10b.png)
117
+![Step 10](./IOS_INSTALLATION/10b.png)
118 118
 left click on the "AgoraRtcEngineKit.framework" in the list and click on the "-"(minus sign) to remove it from the list.
119
-![Step 6](./IOS_INSTALLATION/10c.png)
119
+![Step 10](./IOS_INSTALLATION/10c.png)
120 120
 then click on the "+"(plus sign) so that we can add the framework.
121 121
 Click on the "Add other..." button
122
-![Step 6](./IOS_INSTALLATION/10d.png)
122
+![Step 10](./IOS_INSTALLATION/10d.png)
123 123
 then we need to navigate and find our framwork
124
-![Step 6](./IOS_INSTALLATION/10e.png)
124
+![Step 10](./IOS_INSTALLATION/10e.png)
125 125
 the path is : ios => Pods => AgoraRtcEngine_iOS => AgoraRtcEngineKit.framework and click on "add"
126 126
 
127 127
 #### 11. at last we need to link the library
128 128
 click on your project on the left and then click on "Build Phases" and then expand "Link Binary With Libraries" and then click on the "+"(plug sign)
129
-![Step 6](./IOS_INSTALLATION/11.png)
129
+![Step 11](./IOS_INSTALLATION/11.png)
130 130
 Search for libRCTAGora and click on add
131
-![Step 6](./IOS_INSTALLATION/12.png)
131
+![Step 11](./IOS_INSTALLATION/12.png)
132 132
 if you cant find it in your list check so that you dont already have it
133 133
 
134 134
 ----------------------------------------------
135 135
 ### Troubleshooting
136 136
 
137 137
 if you get some errors like the pictures below
138
-![Step 6](./IOS_INSTALLATION/t01.png)
139
-![Step 6](./IOS_INSTALLATION/t02.png)
138
+![Step t1](./IOS_INSTALLATION/t01.png)
139
+![Step t2](./IOS_INSTALLATION/t02.png)
140 140
 
141 141
 the chances are that you have some framework that already have imported time.h something like firestore.
142 142
 
143 143
 Expand your "Libraries" and then click on "RCTAgora.xcodeproj". Then click on "Build settings" and search for "Header search paths" 
144
-![Step 6](./IOS_INSTALLATION/t03.png)
144
+![Step t3](./IOS_INSTALLATION/t03.png)
145 145
 Doubble click on the path
146
-![Step 6](./IOS_INSTALLATION/t04.png)
146
+![Step t4](./IOS_INSTALLATION/t04.png)
147 147
 and change the Pods path from "recursive" to non-recursive
148
-![Step 6](./IOS_INSTALLATION/t05.png)
148
+![Step t5](./IOS_INSTALLATION/t05.png)
149 149
 
150 150
 
151 151