最近私のMacを再フォーマットしました。今日私は、Terminalを介して迅速な実行可能ファイルを構築して、サーバ側の迅速なプロジェクトを開始しようとしました。ここで私が使用したコマンドは以下のとおりです。端末のSwiftビルドを実行して「プラットフォームパス」エラーに陥る
迅速パッケージはinitが
swift build
を実行する際に実行可能迅速なビルド
を--type、私は次のエラーを得ました:
xcrun: error: unable to lookup item 'PlatformPath' from command line tools installation
xcrun: error: unable to lookup item 'PlatformPath' in SDK '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk'
実行中Xcode 8.3.1です。
ありがとうございます!