Prechádzať zdrojové kódy

ComPDFKit(flutter) - ios 更改依赖版本

liuxiaolong 1 rok pred
rodič
commit
1de2aed4e9

+ 0 - 28
example/ios/ComPDFKit.podspec

@@ -1,28 +0,0 @@
-
-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

+ 0 - 28
example/ios/ComPDFKit_Tools.podspec

@@ -1,28 +0,0 @@
-
-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

+ 2 - 2
example/ios/Podfile

@@ -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:'./ComPDFKit_Tools.podspec'
-  pod 'ComPDFKit', podspec:'./ComPDFKit.podspec'
+  pod "ComPDFKit", podspec:'https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit/1.11.0.podspec'
+  pod "ComPDFKit_Tools", podspec:'https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit_tools/1.11.0.podspec'
 
   target 'RunnerTests' do
     inherit! :search_paths