当我尝试在 PodSec 中使用 FormatterKit 时遇到一个奇怪的问题:pod lib lint
生成以下错误:
- NOTE | [ARNUHelpersVer2/FormatterKit] error: make directory /var/folders/vy/cw2t3p5s3xsfmjcp9w7t5brw0000gn/T/CocoaPods/Lint/build/Release-iphonesimulator/Pods/FormatterKit.framework/ca.lproj: File exists
- NOTE | [ARNUHelpersVer2/FormatterKit] error: couldn't remove '/var/folders/vy/cw2t3p5s3xsfmjcp9w7t5brw0000gn/T/CocoaPods/Lint/build/Release-iphonesimulator/Pods/FormatterKit.framework/ca.lproj' after command failed: No such file or directory
我ca.lproj
在构建目录中根本看不到任何文件。(所以 Xcode 尝试删除不存在的东西)我读到了这个问题:mattt/FormatterKit#88
我的 PodSec:
Pod::Spec.new do |s|
s.name = "ARNUHelpersVer2"
s.version = "0.0.1"
s.summary = "A short description of ARNUHelpersVer2."
s.frameworks = 'QuartzCore', 'UIKit', 'Foundation', 'SystemConfiguration'
s.description = <<-DESC
A longer description of ARNUHelpersVer2 in Markdown format.
* Think: Why did you write this? What is the focus? What does it do?
* CocoaPods will be using this to generate tags, and improve search results.
* Try to keep it short, snappy and to the point.
* Finally, don't worry about the indent, CocoaPods strips it!
DESC
s.homepage = "http://EXAMPLE/ARNUHelpersVer2"
s.requires_arc = true
s.author = { "Mike" => "myMail@gmail.com" }
s.platform = :ios, "7.0"
s.ios.deployment_target = "7.0"
s.source = { :git => "git@bitbucket.org:Private", :submodules => true }
s.source_files = 'ARNUHelpersVer2/*.{h,m}'
s.subspec 'FormatterKit' do |ss|
ss.dependency 'FormatterKit'
end
end
有没有人遇到过这个问题?正确的解决方案是什么,以便使用我的图书馆的人不会看到这种错误。