Ios 无法使用远程框架创建Cocoapod依赖项
我想创建一个Cocoapod依赖项,该依赖项与位于远程位置(如git和drop box)的现有框架(一个内部使用的编译框架,我想通过Cocoapod在内部共享) 我正在跟踪 下面是podspec文件的代码Ios 无法使用远程框架创建Cocoapod依赖项,ios,swift,objective-c,dependencies,cocoapods,Ios,Swift,Objective C,Dependencies,Cocoapods,我想创建一个Cocoapod依赖项,该依赖项与位于远程位置(如git和drop box)的现有框架(一个内部使用的编译框架,我想通过Cocoapod在内部共享) 我正在跟踪 下面是podspec文件的代码 Pod::Spec.new do |s| s.name = 'SDK101' s.version = '0.1.0' s.summary = 'A Awesomeness of SDK101.' s.descripti
Pod::Spec.new do |s|
s.name = 'SDK101'
s.version = '0.1.0'
s.summary = 'A Awesomeness of SDK101.'
s.description = <<-DESC
Add long description of the pod here.Awesomeness!!!
DESC
s.homepage = 'https://github.com/'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Sourabh' => 'sourabh.gajbhiye@gmail.com' }
s.source = { :http => 'https://app.box.com/s/ipwollwlh675fkg3oy87rr7nneafafv0', :type => 'zip' }
s.ios.deployment_target = '12.0'
s.platform = :ios
s.ios.vendored_frameworks = 'SDK101.framework'
s.exclude_files = "Classes/Exclude"
end
在这之后,我跟随,但它没有帮助我
请帮帮我,我做错了什么
pod spec lint --verbose
[!] Error installing SDK101
-> SDK101 (0.1.0)
- ERROR | [iOS] unknown: Encountered an unknown error ([!] /usr/bin/unzip /var/folders/gq/xrq80ysd50nd5frn2zhb89dc0000gn/T/d20210422-75411-1bv4xo/file.zip -d /var/folders/gq/xrq80ysd50nd5frn2zhb89dc0000gn/T/d20210422-75411-1bv4xo
Archive: /var/folders/gq/xrq80ysd50nd5frn2zhb89dc0000gn/T/d20210422-75411-1bv4xo/file.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /var/folders/gq/xrq80ysd50nd5frn2zhb89dc0000gn/T/d20210422-75411-1bv4xo/file.zip or
/var/folders/gq/xrq80ysd50nd5frn2zhb89dc0000gn/T/d20210422-75411-1bv4xo/file.zip.zip, and cannot find /var/folders/gq/xrq80ysd50nd5frn2zhb89dc0000gn/T/d20210422-75411-1bv4xo/file.zip.ZIP, period.
Analyzed 1 podspec.
[!] The spec did not pass validation, due to 1 error.