Skip to content

Commit dd7b2af

Browse files
authored
Update README.md
1 parent 7535360 commit dd7b2af

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,23 +117,23 @@ public class MainApplication extends Application implements ReactApplication {
117117
#### iOS配置
118118
install with CocoaPods
119119
```
120-
pod 'NIMSDK'
120+
pod 'NIMSDK', '4.4.0'
121121
pod 'SSZipArchive', '~> 1.2'
122122
pod 'Reachability', '~> 3.1.1'
123123
pod 'CocoaLumberjack', '~> 2.0.0-rc2'
124124
pod 'FMDB', '~>2.5'
125125
```
126126
Run `pod install`
127127

128-
在工程target的`Build Phases->Link Binary with Libraries`中加入`、libsqlite3.tbd、libc++、libz.tbd、CoreTelephony.framework`
128+
在工程target的`Build Phases->Link Binary with Libraries`中加入`、libsqlite3.0.tbd、libc++.tbd、libz.tbd、CoreTelephony.framework、AVFoundation.framework、CoreMedia.framework、CoreMotion.framework`
129129

130130

131131

132132
在你工程的`AppDelegate.m`文件中添加如下代码:
133133

134134
```
135135
...
136-
#import <NIMSDK/NIMS
136+
#import <NIMSDK/NIMSDK.h>
137137
#import "NTESSDKConfigDelegate.h"
138138
@interface AppDelegate ()
139139
@property (nonatomic,strong) NTESSDKConfigDelegate *sdkConfigDelegate;
@@ -241,7 +241,7 @@ UIUserNotificationSettings *settings = [UIUserNotificationSettings settingsForTy
241241
### 引入包
242242

243243
```
244-
import NIM from 'react-native-netease-im';
244+
import {NimSession} from 'react-native-netease-im';
245245
```
246246

247247
### API

0 commit comments

Comments
 (0)