美文网首页
2023-03-27

2023-03-27

作者: 阿狸小朋友 | 来源:发表于2023-03-26 17:25 被阅读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 %
    '''

    相关文章

      网友评论

          本文标题:2023-03-27

          本文链接:https://www.haomeiwen.com/subject/ictardtx.html