2023-03-27

2023-03-26  本文已影响0人  阿狸小朋友

Last login: Mon Mar 27 17:14:25 on ttys001
maqihan@maqihans-MacBook-Pro ~ % cd /Users/maqihan/Downloads/SwiftDocumentationUsingJazzy-master
maqihan@maqihans-MacBook-Pro SwiftDocumentationUsingJazzy-master % jazzy
Using config file /Users/maqihan/Downloads/SwiftDocumentationUsingJazzy-master/.jazzy.yaml
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
Running xcodebuild
Could not successfully run xcodebuild.
Please check the build arguments.
Saved xcodebuild log file: /var/folders/ws/nkr12s4s6q5dllk61l8rktl00000gn/T/xcodebuild-557466F5-14CF-4B6C-AE82-847087947DA5.log
Error: Failed to generate documentation
/Library/Ruby/Gems/2.6.0/gems/jazzy-0.14.3/lib/jazzy/executable.rb:39:in `execute_command': /Library/Ruby/Gems/2.6.0/gems/jazzy-0.14.3/bin/sourcekitten ["doc", "--module-name", "JazzyDocumentation", "--", "-project", "JazzyDocumentation.xcodeproj", "-scheme", "JazzyDocumentation", "CODE_SIGNING_ALLOWED\ \=\ NO"] (RuntimeError)

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Running xcodebuild

Could not successfully run xcodebuild.

Please check the build arguments.

Saved xcodebuild log file: /var/folders/ws/nkr12s4s6q5dllk61l8rktl00000gn/T/xcodebuild-557466F5-14CF-4B6C-AE82-847087947DA5.log

Error: Failed to generate documentation
from /Library/Ruby/Gems/2.6.0/gems/jazzy-0.14.3/lib/jazzy/sourcekitten.rb:269:in run_sourcekitten' from /Library/Ruby/Gems/2.6.0/gems/jazzy-0.14.3/lib/jazzy/doc_builder.rb:82:inblock in build'
from /Library/Ruby/Gems/2.6.0/gems/jazzy-0.14.3/lib/jazzy/doc_builder.rb:80:in chdir' from /Library/Ruby/Gems/2.6.0/gems/jazzy-0.14.3/lib/jazzy/doc_builder.rb:80:inbuild'
from /Library/Ruby/Gems/2.6.0/gems/jazzy-0.14.3/bin/jazzy:16:in <top (required)>' from /usr/local/bin/jazzy:23:inload'
from /usr/local/bin/jazzy:23:in `<main>'
maqihan@maqihans-MacBook-Pro SwiftDocumentationUsingJazzy-master %
'''

上一篇 下一篇

猜你喜欢

热点阅读