FormatterKit in PodSec error: couldn't remove 'ca.lproj' after command failed: No such file or directory
FormatterKit in PodSec error: couldn't remove 'ca.lproj' after command failed: No such file or directory
当我尝试在 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
有人遇到过这个问题吗?正确的解决方案是什么,这样使用我的图书馆的人就不会看到这种错误。
不幸的是CocaoPds在我使用的时候有一个BUG没有被合并FormatterKit Resources Issue
当我尝试在 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
有人遇到过这个问题吗?正确的解决方案是什么,这样使用我的图书馆的人就不会看到这种错误。
不幸的是CocaoPds在我使用的时候有一个BUG没有被合并FormatterKit Resources Issue