Skip to content

Commit 8a4cde7

Browse files
author
Rad Azzouz
committed
Merge branch 'rad/fix-ios-integration' into rad/podspec
2 parents e96a185 + d2af62c commit 8a4cde7

File tree

4 files changed

+7
-11
lines changed

4 files changed

+7
-11
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,5 @@ buck-out/
4242
android/app/libs
4343
*.keystore
4444

45-
PSPDFKit/PSPDFKit.framework
4645
samples/Catalog/android/pspdfkit-lib/*.aar
4746

PSPDFKit/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
### iOS
44

55
#### Requirements
6-
- Xcode 8.3.2
7-
- PSPDFKit >=6.6
8-
- react-native >= 0.41.2
6+
- Xcode 8.3.3
7+
- PSPDFKit >=6.8
8+
- react-native >= 0.46.4
99

1010
#### Getting Started
1111

@@ -22,15 +22,13 @@ Lets create a simple app that integrates `PSPDFKit.framework` and uses the `reac
2222
![Deployment Target](screenshots/deployment-target.png)
2323
9. Change "View controller-based status bar appearance" to `YES` in `Info.plist`:
2424
![View Controller-Based Status Bar Appearance](screenshots/view-controller-based-status-bar-appearance.png)
25-
10. Open `node_modules/react-native-pspdfkit/ios` and drag and drop `RCTPSPDFKit.xcodproj` into the YourApp Xcode project:
26-
![Project Dependency](screenshots/project-dependency.png)
27-
11. Link with the `libRCTPSPDFKit.a` static library:
25+
10. Make sure the `libRCTPSPDFKit.a` static library is linked to the "YourApp" target:
2826
![Linking Static Library](screenshots/linking-static-library.png)
29-
12. Embed `PSPDFKit.framework` by drag and dropping it into the "Embedded Binaries" section of the "YourApp" target (Select "Create groups"). This will also add it to the "Linked Framworks and Libraries" section:
27+
11. Embed `PSPDFKit.framework` by drag and dropping it into the "Embedded Binaries" section of the "YourApp" target (Select "Create groups"). This will also add it to the "Linked Framworks and Libraries" section:
3028
![Embedding PSPDFKit](screenshots/embedding-pspdfkit.png)
31-
13. Add a PDF by drag and dropping it into your Xcode project (Select "Create groups" and add to target "YourApp"). This will add the document to the "Copy Bundle Resources" build phase:
29+
12. Add a PDF by drag and dropping it into your Xcode project (Select "Create groups" and add to target "YourApp"). This will add the document to the "Copy Bundle Resources" build phase:
3230
![Adding PDF](screenshots/adding-pdf.png)
33-
14. Replace the default component from `index.ios.js` with a simple touch area to present the bundled PDF:
31+
13. Replace the default component from `index.ios.js` with a simple touch area to present the bundled PDF:
3432

3533
```javascript
3634
import React, { Component } from 'react';

screenshots/project-dependency.png

-258 KB
Binary file not shown.

0 commit comments

Comments
 (0)