Can’t build swift 5.1.4 toolchain

OS: macosx 10.14.6
Xcode:11.3.1

command:
git clone -b swift-5.1.4-RELEASE https://github.com/apple/swift

swift/utils/update-check --clone --tag swift-5.1.4-RELEASE

swift/utils/build-toolchain com.xtian.swift

error

-- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
-- /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk
-- /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS13.2.sdk
-- /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS6.1.sdk
CMake Warning at docs/CMakeLists.txt:24 (message):
Unable to find sphinx-build program. Not building docs

-- Configuring done
CMake Error in cmake/modules/CMakeLists.txt:
export called with target "swiftSwiftLang-macosx-x86_64" which requires
target "sourcekitd" that is not in any export set.

-- Generating done
CMake Warning:

And for those that navigate here and have this issue ... goto: Can't build swift 5.1 toolchain for the solution...

Terms of Service

Privacy Policy

Cookie Policy