I'm trying a fresh build of the compiler, but I'm having some trouble. I cloned master, ran
utils/update-checkout --clone-with-ssh, and then ran
utils/build-script --xcode --release-debuginfo --force-optimized-typechecker --swift-assertions --skip-build-benchmarks
which built three projects: cmark, llvm, and swift. I opened cmark and llvm and ran the
Then I opened the Swift project and built the
swift scheme. The build raised four warnings, two about newlines and two like this:
ld: warning: directory not found for option '-L/...../build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/Debug' ld: warning: directory not found for option '-L/...../build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/Debug/lib/swift/macosx'
When I run the project from Xcode, it prints the following error:
<unknown>:0: error: unable to load standard library for target 'x86_64-apple-macosx10.14' Program ended with exit code: 1
Could someone point me towards what I'm doing wrong?