Skip to content

Commit 5f7a7ae

Browse files
authored
Merge pull request #64 from PSPDFKit/akshat/update-cocoapods-url
Update Cocoapods URL
2 parents f87f46d + 6b6aa23 commit 5f7a7ae

File tree

4 files changed

+11
-18
lines changed

4 files changed

+11
-18
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,11 +245,11 @@ adb push /path/to/your/document.pdf /sdcard/document.pdf
245245
```diff
246246
# Uncomment this line to define a global platform for your project
247247
- # platform :ios, '9.0'
248-
+ platform :ios, '11.0'
248+
+ platform :ios, '12.0'
249249
...
250250
target 'Runner' do
251251
use_frameworks!
252-
+ pod 'PSPDFKit', podspec:'https://customers.pspdfkit.com/cocoapods/YOUR_COCOAPODS_KEY_GOES_HERE/pspdfkit/latest.podspec'
252+
+ pod 'PSPDFKit', podspec:'https://customers.pspdfkit.com/pspdfkit-ios/latest-framework.podspec'
253253
...
254254
end
255255
```

example/README.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,6 @@ pspdfkit.password=YOUR_PASSWORD_GOES_HERE
1515
flutter.buildMode=debug
1616
```
1717

18-
3. Replace `YOUR_COCOAPODS_KEY_GOES_HERE` with your Cocoapods key in `pspdfkit-flutter/example/iOS/Podfile`
19-
20-
```bash
21-
...
22-
target 'Runner' do
23-
pod 'PSPDFKit', podspec:'https://customers.pspdfkit.com/cocoapods/YOUR_COCOAPODS_KEY_GOES_HERE/pspdfkit/latest.podspec'
24-
...
25-
```
26-
27-
4. cd `pspdfkit-flutter/example`
28-
5. Run `flutter emulators --launch <EMULATOR_ID>` to launch the desired emulator. Optionally, you can repeat this step to launch multiple emulators.
29-
6. The app is ready to start! Run `flutter run -d all` and the PSPDFKit Flutter example will be deployed on all your devices connected, both iOS and Android.
18+
3. cd `pspdfkit-flutter/example`
19+
4. Run `flutter emulators --launch <EMULATOR_ID>` to launch the desired emulator. Optionally, you can repeat this step to launch multiple emulators.
20+
5. The app is ready to start! Run `flutter run -d all` and the PSPDFKit Flutter example will be deployed on all your devices connected, both iOS and Android.

example/ios/Podfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment this line to define a global platform for your project
2-
platform :ios, '11.0'
2+
platform :ios, '12.0'
33
use_frameworks!
44

55
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
@@ -63,7 +63,7 @@ target 'Runner' do
6363
pod 'Flutter', :path => 'Flutter'
6464

6565
# Plugin Pods
66-
pod 'PSPDFKit', podspec:'https://customers.pspdfkit.com/cocoapods/YOUR_COCOAPODS_KEY_GOES_HERE/pspdfkit/latest.podspec'
66+
pod 'PSPDFKit', podspec:'https://customers.pspdfkit.com/pspdfkit-ios/latest-framework.podspec'
6767

6868
# Prepare symlinks folder. We use symlinks to avoid having Podfile.lock
6969
# referring to absolute paths on developers' machines.

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@
363363
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
364364
GCC_WARN_UNUSED_FUNCTION = YES;
365365
GCC_WARN_UNUSED_VARIABLE = YES;
366-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
366+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
367367
MTL_ENABLE_DEBUG_INFO = YES;
368368
ONLY_ACTIVE_ARCH = YES;
369369
SDKROOT = iphoneos;
@@ -415,7 +415,7 @@
415415
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
416416
GCC_WARN_UNUSED_FUNCTION = YES;
417417
GCC_WARN_UNUSED_VARIABLE = YES;
418-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
418+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
419419
MTL_ENABLE_DEBUG_INFO = NO;
420420
SDKROOT = iphoneos;
421421
TARGETED_DEVICE_FAMILY = "1,2";
@@ -435,6 +435,7 @@
435435
"$(PROJECT_DIR)/Flutter",
436436
);
437437
INFOPLIST_FILE = Runner/Info.plist;
438+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
438439
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
439440
LIBRARY_SEARCH_PATHS = (
440441
"$(inherited)",
@@ -457,6 +458,7 @@
457458
"$(PROJECT_DIR)/Flutter",
458459
);
459460
INFOPLIST_FILE = Runner/Info.plist;
461+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
460462
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
461463
LIBRARY_SEARCH_PATHS = (
462464
"$(inherited)",

0 commit comments

Comments
 (0)