Skip to content

Commit 28e7c77

Browse files
Update README for iOS CocoaPod podspec changes (#339)
* Update README for iOS CocoaPod podspec changes * Updating package version * Fix end-of-file change * Updating pubspec.yaml * Updating package version --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent d1d71bc commit 28e7c77

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -143,14 +143,12 @@ The following instructions are only applicable to Android development; click her
143143

144144
The following instructions are only applicable to iOS development; click here for the [Android counterpart](#android).
145145

146-
> **Note**
147-
> (August 2022)
146+
> [!IMPORTANT]
147+
> As of March 2025, use of the `PDFTron` and `PDFTronTools` podspecs distributed specifically for the PDFTron Flutter wrapper (`https://pdftron.com/downloads/ios/flutter/pdftron/latest.podspec` and `https://pdftron.com/downloads/ios/flutter/pdftron-tools/latest.podspec`, respectively) is deprecated.
148+
>
149+
> **All new and existing users are recommended to use the standard [Apryse iOS SDK CocoaPods](https://docs.apryse.com/ios/guides/get-started/integration?tab=cocoapods) instead.**
148150
>
149-
> There are new podspec files to use when integrating the PDFTron Flutter Wrapper for iOS:
150-
> - `PDFTron` CocoaPod, providing `PDFNet.xcframework`: https://pdftron.com/downloads/ios/flutter/pdftron/latest.podspec
151-
> - `PDFTronTools` CocoaPod, providing `Tools.xcframework`: https://pdftron.com/downloads/ios/flutter/pdftron-tools/latest.podspec
152-
>
153-
> Please update your `ios/Podfile` accordingly.
151+
> Please update your `Podfile` accordingly.
154152

155153
4. Open `myapp/ios/Podfile` file and add:
156154
```diff
@@ -161,8 +159,8 @@ The following instructions are only applicable to iOS development; click here fo
161159
target 'Runner' do
162160
...
163161
+ # PDFTron Pods
164-
+ pod 'PDFTron', podspec: 'https://pdftron.com/downloads/ios/flutter/pdftron/latest.podspec'
165-
+ pod 'PDFTronTools', podspec: 'https://pdftron.com/downloads/ios/flutter/pdftron-tools/latest.podspec'
162+
+ pod 'PDFTron', podspec: 'https://www.pdftron.com/downloads/ios/cocoapods/xcframeworks/pdftron/latest.podspec'
163+
+ pod 'PDFTronTools', podspec: 'https://www.pdftron.com/downloads/ios/cocoapods/xcframeworks/pdftron-tools/latest.podspec'
166164
end
167165
```
168166
5. To ensure integration process is successful, run `flutter build ios --no-codesign`

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: pdftron_flutter
22
description: A convenience wrapper to build Flutter apps that use the PDFTron mobile SDK for smooth, flexible, and stand-alone document viewing.
3-
version: 1.0.1-41
3+
version: 1.0.1-42
44
homepage: https://www.apryse.com
55
repository: https://github.com/ApryseSDK/pdftron-flutter
66
issue_tracker: https://github.com/ApryseSDK/pdftron-flutter/issues

0 commit comments

Comments
 (0)