I am new to the Swift community and I am right now trying to compile swift from the Github repo. I followed the instructions exactly and everything went fine until I ran
./utils/build-script --release-debuginfo. I left my iMac 2009 10.13.6 running over night and got the following output.
[41/628] Compiling /Users/lh/swift-source/build/Ni...stdlib/public/Darwin/XCTest/macosx/x86_64/XCTest. ... / output intentionally removed by me / ... /Users/lh/swift-source/swift/stdlib/public/Darwin/XCTest/XCTest.swift:13:19: error: no such module 'XCTest' @_exported import XCTest // Clang module
Does anyone know what the problem might be? I ran all of the commands in the README.md file and my
swift-source looks as follows
$ ls build libcxx swift swift-stress-tester clang llbuild swift-corelibs-foundation swift-syntax clang-tools-extra lldb swift-corelibs-libdispatch swift-xcode-playground-support cmark llvm swift-corelibs-xctest swiftpm compiler-rt ninja swift-integration-tests
Does anyone have any idea on how this could be fixed?