我按照这里的指示操作,但无法在我的Mac上使Vapor工作。以下是我的Xcode和Swift版本:
Xcode 8.0
Build version 8S174q
Apple Swift version 3.0-dev (LLVM 8fcf602916, Clang cf0a734990, Swift 000d413a62)
Target: x86_64-apple-macosx10.9
当我尝试使用此命令安装工具箱时:
curl -sL toolbox.qutheory.io | bash
安装不成功并出现以下信息。
⚠️ It looks like your Command Line Tools version is incorrect.
Make sure Xcode > Preferences > Locations > Command Line Tools is set correctly.
Correct: Xcode 8.0 (8S162m)
Current: Xcode 8.0
Build version 8S174q
⚠️ It looks like your Swift install location has been modified.
Correct: /usr/bin/swift
Current: /Users/<name>/.swiftenv/shims/swift
❌ Incompatible
Reason: Invalid Swift version
Output must contain 'swiftlang-800.0.33.1'
Current 'swift -version' output:
Apple Swift version 3.0-dev (LLVM 8fcf602916, Clang cf0a734990, Swift 000d413a62) Target: x86_64-apple-macosx10.9
Visit our docs for step-by-step instructions on installing Swift correctly.
http://docs.qutheory.io
or Join our Slack and we'll help you get setup.
http://slack.qutheory.io
从这里可以得出我的Swift位置是错误的(我不记得更改它),而我的Xcode构建编号也是错误的(因为Xcode Beta 2不再可用于下载,所以我使用了Xcode Beta 3)。
有人可以帮我在不改变太多的情况下让它工作吗?还是说这个框架仍然对稍微不同的设置过于挑剔?