PodSec中的FormatterKit错误:命令失败后无法删除“ca.lproj”:没有这样的文件或目录

时间:2015-03-18 14:27:45

标签: ios cocoapods podspec

当我尝试在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

有没有人有这个问题?什么是正确的解决方案,以便使用我的图书馆的人不会看到这种错误。

1 个答案:

答案 0 :(得分:0)

不幸的是,CocaoPds中有一个BUG,在我使用它的时候并没有合并。FormatterKit Resources Issue