Skip to content

Commit d8429f8

Browse files
author
Rad Azzouz
committed
Fix screenshot links
1 parent 3404e55 commit d8429f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ios/cocoapods.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ Lets create a simple app that integrates PSPDFKit using CocoaPods.
1515
1. Make sure `react-native-cli` is installed: `yarn global add react-native-cli`
1616
2. Create the app with `react-native init YourApp`.
1717
3. Step into your newly created app folder: `cd YourApp`
18-
4. Install `react-native-pspdfkit` from GitHub: `yarn add github:PSPDFKit/react-native`
18+
4. Install `react-native-pspdfkit` from GitHub: `yarn add https://github.com/PSPDFKit/react-native.git#rad/fix-cocoapods-integration`
1919
5. Install all the dependencies for the project: `yarn install`. (Because of a [bug](https://github.com/yarnpkg/yarn/issues/2165) you may need to clean `yarn`'s cache with `yarn cache clean` before.)
2020
6. Link module `react-native-pspdfkit`: `react-native link react-native-pspdfkit`.
2121
7. Open ios/YourApp.xcodeproj in Xcode: open ios/YourApp.xcodeproj
2222
8. Make sure the deployment target is set to 11.0 or higher:
2323
![Deployment Target](../screenshots/deployment-target.png)
2424
9. Change "View controller-based status bar appearance" to `YES` in `Info.plist`:
25-
![View Controller-Based Status Bar Appearance](screenshots/view-controller-based-status-bar-appearance.png)
25+
![View Controller-Based Status Bar Appearance](../screenshots/view-controller-based-status-bar-appearance.png)
2626
10. Link with the `libRCTPSPDFKit.a` static library (if `libRCTPSPDFKit.a` is already there but greyed out, delete it and link it again):
27-
![Linking Static Library](screenshots/linking-static-library.png)
27+
![Linking Static Library](../screenshots/linking-static-library.png)
2828
11. Close the Xcode project
2929
12. Go back to the Terminal, `cd ios` then run `pod init`
3030
13. Replace the content of your newly created `Podfile` with this:

0 commit comments

Comments
 (0)