You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. In XCode, in the project navigator right click `Libraries` ➜ `Add Files to [your project's name]`
13
+
1. In Xcode, in the project navigator right click `Libraries` ➜ `Add Files to [your project's name]`
16
14
2. Go to `node_modules` ➜ `react-native-zip-archive` and add `RNZipArchive.xcodeproj`
17
15
3. Add `libRNZipArchive.a` (from 'Products' under RNZipArchive.xcodeproj) to your project's `Build Phases` ➜ `Link Binary With Libraries` phase
18
16
4. Add the `libz` library to your target
19
17
5. Look for Header Search Paths and make sure it contains both `$(SRCROOT)/../react-native/React` and `$(SRCROOT)/../../React` - mark both as recursive
20
-
6. Run your project (`Cmd+R`)
18
+
6. Run your project (`CMD+R`)
21
19
22
20
Warning: If you're using [rnpm](https://github.com/rnpm/rnpm) to link this module, you also need manually link `libz` library to your target otherwise your project wouldn't compile.
0 commit comments