Browse Source

ComPDFKit(flutter) - 更新V1.11.0 sdk

liuxiaolong 1 năm trước cách đây
mục cha
commit
7cc67448f4

BIN
android/libs/ComPDFKit_Tools.aar


BIN
example/android/app/libs/ComPDFKit_Tools.aar


+ 28 - 0
example/ios/ComPDFKit.podspec

@@ -0,0 +1,28 @@
+
+Pod::Spec.new do |spec|
+
+  spec.name         = "ComPDFKit"
+  spec.version      = "1.11.0"
+  spec.summary      = "ComPDFKit, a software development kit (SDK), consists of PDF SDK and PDF Conversion SDK."
+  spec.description  = <<-DESC
+  ComPDFKit PDF SDK for iOS is a robust PDF library for developers who need to develop applications on iOS, which offers powerful Objective-C APIs for quickly viewing, annotating, editing, and creating PDFs. It is feature-rich and battle-tested, making PDF files process and manipulation easier and faster for iOS devices.
+                   DESC
+
+  spec.homepage     = "https://www.compdf.com"
+  spec.license      = { :type => 'Commercial', :file => 'https://github.com/ComPDFKit/PDF-SDK-iOS/blob/main/LICENSE'} 
+  spec.author       = { "ComPDFKit" => "support@compdf.com" }
+  spec.platform     = :ios, "10.0"
+  spec.source       = { :http => "http://test-pdf-pro.kdan.cn:3026/download/ComPDFKit.framework.zip"}
+
+  spec.preserve_paths = "ComPDFKit.framework"
+  spec.vendored_frameworks = "ComPDFKit.framework"
+
+  spec.requires_arc = true
+  spec.pod_target_xcconfig = {'VALID_ARCHS' => 'arm64 x86_64 armv7'}
+  spec.library             = 'z', 'c++'
+  spec.xcconfig            = { 'FRAMEWORK_SEARCH_PATHS' => '"$(PODS_ROOT)/ComPDFKit/**"' }
+  spec.frameworks          = 'QuartzCore','CoreMedia', 'MediaPlayer', 'AVFoundation',
+                          'CoreGraphics', 'Foundation', 'MobileCoreServices', 'SystemConfiguration',
+                          'UIKit'
+
+end

+ 28 - 0
example/ios/ComPDFKit_Tools.podspec

@@ -0,0 +1,28 @@
+
+Pod::Spec.new do |spec|
+
+  spec.name         = "ComPDFKit_Tools"
+  spec.version      = "1.11.0"
+  spec.summary      = "The folder of ComPDFKit_Tools includes the UI components to help conveniently integrate ComPDFKit PDF SDK."
+  spec.description  = <<-DESC
+  ComPDFKit_Tools have also built five standalone function programs, namely Viewer, Annotations, ContentEditor, Forms, and DocsEditor, using this UI component library. Additionally, we have developed a program called **PDFViewer** that integrates all the above-mentioned example features for reference
+                   DESC
+
+  spec.homepage     = "https://www.compdf.com"
+  spec.license      = { :type => 'Commercial', :file => 'https://github.com/ComPDFKit/PDF-SDK-iOS/blob/main/LICENSE'} 
+  spec.author       = { "ComPDFKit" => "support@compdf.com"}
+  spec.platform     = :ios, "10.0"
+  spec.source       = { :http => "http://test-pdf-pro.kdan.cn:3026/download/ComPDFKit_Tools.framework.zip"}
+
+  spec.preserve_paths = "ComPDFKit_Tools.framework"
+  spec.vendored_frameworks = "ComPDFKit_Tools.framework"
+
+  spec.requires_arc = true
+  spec.pod_target_xcconfig = {'VALID_ARCHS' => 'arm64 x86_64 armv7'}
+  spec.library             = 'z', 'c++'
+  spec.xcconfig            = { 'FRAMEWORK_SEARCH_PATHS' => '"$(PODS_ROOT)/ComPDFKit_Tools/**"' }
+  spec.frameworks          = 'QuartzCore','CoreMedia', 'MediaPlayer', 'AVFoundation',
+                          'CoreGraphics', 'Foundation', 'MobileCoreServices', 'SystemConfiguration',
+                          'UIKit'
+
+end

+ 3 - 3
example/ios/Podfile

@@ -1,5 +1,5 @@
 # Uncomment this line to define a global platform for your project
-platform :ios, '12.0'
+platform :ios, '11.0'
 
 # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
 ENV['COCOAPODS_DISABLE_STATS'] = 'true'
@@ -30,8 +30,8 @@ flutter_ios_podfile_setup
 target 'Runner' do
   use_modular_headers!
   flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
-  pod 'ComPDFKit_Tools', podspec:'/Users/kdanmobile_2/Desktop/1.11/ComPDFKit_Tools.podspec'
-  pod 'ComPDFKit', podspec:'/Users/kdanmobile_2/Desktop/1.11/ComPDFKit.podspec'
+  pod 'ComPDFKit_Tools', podspec:'./ComPDFKit_Tools.podspec'
+  pod 'ComPDFKit', podspec:'./ComPDFKit.podspec'
 
   target 'RunnerTests' do
     inherit! :search_paths

+ 0 - 40
example/ios/Podfile.lock

@@ -1,40 +0,0 @@
-PODS:
-  - ComPDFKit (1.11.0)
-  - compdfkit_flutter (0.0.1):
-    - ComPDFKit
-    - ComPDFKit_Tools
-    - Flutter
-  - ComPDFKit_Tools (1.11.0)
-  - Flutter (1.0.0)
-  - integration_test (0.0.1):
-    - Flutter
-
-DEPENDENCIES:
-  - ComPDFKit (from `/Users/kdanmobile_2/Desktop/1.11/ComPDFKit.podspec`)
-  - compdfkit_flutter (from `.symlinks/plugins/compdfkit_flutter/ios`)
-  - ComPDFKit_Tools (from `/Users/kdanmobile_2/Desktop/1.11/ComPDFKit_Tools.podspec`)
-  - Flutter (from `Flutter`)
-  - integration_test (from `.symlinks/plugins/integration_test/ios`)
-
-EXTERNAL SOURCES:
-  ComPDFKit:
-    :podspec: "/Users/kdanmobile_2/Desktop/1.11/ComPDFKit.podspec"
-  compdfkit_flutter:
-    :path: ".symlinks/plugins/compdfkit_flutter/ios"
-  ComPDFKit_Tools:
-    :podspec: "/Users/kdanmobile_2/Desktop/1.11/ComPDFKit_Tools.podspec"
-  Flutter:
-    :path: Flutter
-  integration_test:
-    :path: ".symlinks/plugins/integration_test/ios"
-
-SPEC CHECKSUMS:
-  ComPDFKit: 36b7d951f755594270488cbcc5c5bf16831d7971
-  compdfkit_flutter: 2a3614b6388ca3c8c95f3187925ed715003771e9
-  ComPDFKit_Tools: 932e937c774957de7b326ba1aa033aadce03b8eb
-  Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
-  integration_test: 13825b8a9334a850581300559b8839134b124670
-
-PODFILE CHECKSUM: 7d914cb83d22e113e246fbd0fc723e734ca75040
-
-COCOAPODS: 1.13.0

+ 3 - 3
example/ios/Runner.xcodeproj/project.pbxproj

@@ -467,7 +467,7 @@
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
 				CLANG_ENABLE_MODULES = YES;
 				CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
-				DEVELOPMENT_TEAM = 4GGQPGRTSV;
+				DEVELOPMENT_TEAM = 59AC9PMNH2;
 				ENABLE_BITCODE = NO;
 				INFOPLIST_FILE = Runner/Info.plist;
 				LD_RUNPATH_SEARCH_PATHS = (
@@ -646,7 +646,7 @@
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
 				CLANG_ENABLE_MODULES = YES;
 				CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
-				DEVELOPMENT_TEAM = 4GGQPGRTSV;
+				DEVELOPMENT_TEAM = 59AC9PMNH2;
 				ENABLE_BITCODE = NO;
 				INFOPLIST_FILE = Runner/Info.plist;
 				LD_RUNPATH_SEARCH_PATHS = (
@@ -669,7 +669,7 @@
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
 				CLANG_ENABLE_MODULES = YES;
 				CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
-				DEVELOPMENT_TEAM = 4GGQPGRTSV;
+				DEVELOPMENT_TEAM = 59AC9PMNH2;
 				ENABLE_BITCODE = NO;
 				INFOPLIST_FILE = Runner/Info.plist;
 				LD_RUNPATH_SEARCH_PATHS = (

+ 0 - 10
example/ios/Runner.xcworkspace/contents.xcworkspacedata

@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Workspace
-   version = "1.0">
-   <FileRef
-      location = "group:Runner.xcodeproj">
-   </FileRef>
-   <FileRef
-      location = "group:Pods/Pods.xcodeproj">
-   </FileRef>
-</Workspace>

+ 0 - 8
example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist

@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>IDEDidComputeMac32BitWarning</key>
-	<true/>
-</dict>
-</plist>