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
Copy file name to clipboardExpand all lines: ios/Experimental_Mac_Catalyst_Support.md
+8-9Lines changed: 8 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,20 +18,19 @@ Below, we walk you trough how to create your own local CocoaPods Artifacts that
18
18
19
19
### Getting Started
20
20
21
-
#### Creating the CocoaPods Artifacts.
21
+
#### Creating the CocoaPods Artifacts
22
22
23
23
1. If you’re an existing customer, download PSPDFKit for iOS from the [customer portal](https://customers.pspdfkit.com/). Otherwise, if you don’t already have PSPDFKit, [sign up for our 60-day trial](https://pspdfkit.com/try/) and you will receive an email with the download instructions.
24
-
2. Copy `PSPDFKit.xcframework` and `PSPDFKitUI.xcframework` in a writable location - say the `~/Downloads` folder.
25
-
3. Remove `strip-bitcode.sh` and `strip-framework.sh` from `PSPDFKit.xcframework/ios-x86_64-maccatalyst/PSPDFKit.framework`:
24
+
2. Copy `PSPDFKit.xcframework` and `PSPDFKitUI.xcframework` in a writable location. We'll use the `~/Downloads` folder.
25
+
3. Remove `strip-bitcode.sh` and `strip-framework.sh` from `PSPDFKit.xcframework/*/PSPDFKit.framework`:
4. Rename the resulting `Archive.zip` to `PSPDFKit.zip`
33
+
5. Rename the resulting `Archive.zip` to `PSPDFKit.zip`.
35
34
36
35
#### Integrating PSPDFKit in a New React Native Project
37
36
@@ -42,7 +41,7 @@ Let's create a simple app that integrates PSPDFKit and uses the `react-native-ps
42
41
3. Step into your newly created app folder: `cd YourApp`
43
42
4. Install `react-native-pspdfkit` from GitHub: `yarn add github:PSPDFKit/react-native`
44
43
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.)
45
-
6. Open `ios/Podile` in a text editor: `open ios/Podfile`, update the platform to iOS 11, and add the CocoaPods URLs.
44
+
6. Open `ios/Podile` in a text editor: `open ios/Podfile`, update the platform to iOS 11, and add the CocoaPods URLs:
46
45
47
46
```diff
48
47
- platform :ios, '9.0'
@@ -83,7 +82,7 @@ target 'YourApp' do
83
82
end
84
83
```
85
84
86
-
7. In the `ios` folder, copy the CocoaPods artifatcs that you created earlier: `cp PSPDFKit.zip YourApp/ios/`
85
+
7. In the `ios` folder, copy the CocoaPods artifatcs that you created earlier: `cp PSPDFKit.zip YourApp/ios/`.
87
86
8. In the `ios` folder, create a new `PSPDFKit.podspec` file with the following content:
0 commit comments