Skip to content

Commit abbfb56

Browse files
author
Rad Azzouz
committed
Fixed the link with the libRCTPSPDFKit.a static library step in the readme
1 parent d2af62c commit abbfb56

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99

1010
#### Getting Started
1111

12-
Lets create a simple app that integrates `PSPDFKit.framework` and uses the `react-native-pspdfkit` module.
12+
**Note:** If you want to integrate PSPDFKit using CocoaPods, use [these instructions](ios/cocoapods.md) instead.
13+
14+
Let's create a simple app that integrates `PSPDFKit.framework` and uses the `react-native-pspdfkit` module.
1315

1416
1. Make sure `react-native-cli` is installed: `yarn global add react-native-cli`
1517
2. Create the app with `react-native init YourApp`.
@@ -22,7 +24,7 @@ Lets create a simple app that integrates `PSPDFKit.framework` and uses the `reac
2224
![Deployment Target](screenshots/deployment-target.png)
2325
9. Change "View controller-based status bar appearance" to `YES` in `Info.plist`:
2426
![View Controller-Based Status Bar Appearance](screenshots/view-controller-based-status-bar-appearance.png)
25-
10. Make sure the `libRCTPSPDFKit.a` static library is linked to the "YourApp" target:
27+
10. Link with the `libRCTPSPDFKit.a` static library (if `libRCTPSPDFKit.a` is already there but greyed out, delete it and link it again):
2628
![Linking Static Library](screenshots/linking-static-library.png)
2729
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:
2830
![Embedding PSPDFKit](screenshots/embedding-pspdfkit.png)

0 commit comments

Comments
 (0)