0

我无法用我的私人 CocoaPod 来工作。我不明白我需要在 CocoaPod 的文档树中的哪个位置运行 Jazzy 命令?我总是收到这个错误:

运行 xcodebuild

无法解析xcodebuild输出中的编译器参数。

请确认xcodebuild正在构建 Swift 模块。

保存xcodebuild的日志文件:/var/folders/wm/ypqvslpj03s4lkgk9kw4f03h0000gn/T/xcodebuild-4B0909ED-AD27-4C5A-B461-388EEE1BA6A9.log

无法从 /Users/pascalvanderlocht/.rvm/gems/ruby-2.3.0@global/gems/jazzy-0.7.3/lib/jazzy/sourcekitten.rb:147:in run_sourcekitten' from /Users/pascalvanderlocht/.rvm/gems/ruby-2.3.0@global/gems/jazzy-0.7.3/lib/jazzy/doc_builder.rb:65:inblock in build' 从 /Users/生成文档pascalvanderlocht/.rvm/gems/ruby-2.3.0@global/gems/jazzy-0.7.3/lib/jazzy/doc_builder.rb:63:in chdir' from /Users/pascalvanderlocht/.rvm/gems/ruby-2.3.0@global/gems/jazzy-0.7.3/lib/jazzy/doc_builder.rb:63:inbuild' 来自 /Users/pascalvanderlocht/.rvm/gems/ruby-2.3 .0@global/gems/jazzy-0.7.3/bin/jazzy:15:in <top (required)>' from /Users/pascalvanderlocht/.rvm/rubies/ruby-2.3.0/bin/jazzy:22:inload' 来自 /Users/pascalvanderlocht/.rvm/rubies/ruby-2.3.0/bin/jazzy:22:in <main>' from /Users/pascalvanderlocht/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:ineval' 来自 /用户/pascalvanderlocht/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `'

我需要在 CocoaPod 目录的哪个位置运行命令?任何帮助表示赞赏。提前致谢

4

1 回答 1

2

这有点晚了,但是有一个jazzy --podspec <Your Pod>.podspec命令

于 2017-10-11T13:11:26.530 回答