<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Toni,<div class=""><br class=""></div><div class="">This is known issue, master and swift-4.0-branch branch can only be built with Xcode 9 beta 4 as of right now.&nbsp;</div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Thanks,</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Mishal Shah</div>

</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Aug 16, 2017, at 3:41 AM, Toni Suter via swift-dev &lt;<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">I tried to build the Swift compiler. I followed the instructions on GitHub and used the following command: <span style="font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; color: rgb(36, 41, 46);" class="">utils/build-script -r -t</span></div><div class="">Unfortunately, the build fails on my Mac (macOS 10.12.6). I noticed that the README.md still lists Xcode 9.0 beta 4 as a system requirement.</div><div class="">However, I already updated to beta 5. Could this be the problem?</div><div class=""><br class=""></div><div class="">Here's the error message I get:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(197, 200, 198); background-color: rgb(22, 23, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.h:88:9: error: 'AVFoundation/AVRouteDetector.h' file not found</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(197, 200, 198); background-color: rgb(22, 23, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#import &lt;AVFoundation/AVRouteDetector.h&gt;</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(197, 200, 198); background-color: rgb(22, 23, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp; ^</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(197, 200, 198); background-color: rgb(22, 23, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/Users/tonisuter/Projects/swift-source/swift/stdlib/public/SDK/AVFoundation/AVCaptureDevice.swift:13:19: error: could not build Objective-C module 'AVFoundation'</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(197, 200, 198); background-color: rgb(22, 23, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">@_exported import AVFoundation // Clang module</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(197, 200, 198); background-color: rgb(22, 23, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(197, 200, 198); background-color: rgb(22, 23, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[4/417] Generating /Users/tonisuter/Projects/swift-source/build/Ninja-RelWithDebInfoAssert/swift-macosx-x86_64/./lib/swift/macosx/x86_64/AVFoundation.swiftmodule</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(197, 200, 198); background-color: rgb(22, 23, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">FAILED: lib/swift/macosx/x86_64/AVFoundation.swiftmodule lib/swift/macosx/x86_64/AVFoundation.swiftdoc&nbsp;</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(197, 200, 198); background-color: rgb(22, 23, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">cd /Users/tonisuter/Projects/swift-source/build/Ninja-RelWithDebInfoAssert/swift-macosx-x86_64/stdlib/public/SDK/AVFoundation &amp;&amp; /usr/local/Cellar/cmake/3.9.1/bin/cmake -E remove -f /Users/tonisuter/Projects/swift-source/build/Ninja-RelWithDebInfoAssert/swift-macosx-x86_64/./lib/swift/macosx/x86_64/AVFoundation.swiftmodule &amp;&amp; /usr/local/Cellar/cmake/3.9.1/bin/cmake -E remove -f /Users/tonisuter/Projects/swift-source/build/Ninja-RelWithDebInfoAssert/swift-macosx-x86_64/./lib/swift/macosx/x86_64/AVFoundation.swiftdoc &amp;&amp; /usr/bin/python /Users/tonisuter/Projects/swift-source/swift/utils/line-directive @/Users/tonisuter/Projects/swift-source/build/Ninja-RelWithDebInfoAssert/swift-macosx-x86_64/stdlib/public/SDK/AVFoundation/XuChu.txt -- /Users/tonisuter/Projects/swift-source/build/Ninja-RelWithDebInfoAssert/swift-macosx-x86_64/./bin/swiftc -emit-module -o /Users/tonisuter/Projects/swift-source/build/Ninja-RelWithDebInfoAssert/swift-macosx-x86_64/./lib/swift/macosx/x86_64/AVFoundation.swiftmodule -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -target x86_64-apple-macosx10.9 -resource-dir /Users/tonisuter/Projects/swift-source/build/Ninja-RelWithDebInfoAssert/swift-macosx-x86_64/./lib/swift -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/../../../Developer/Library/Frameworks -O -g -D INTERNAL_CHECKS_ENABLED -I /Users/tonisuter/Projects/swift-source/build/Ninja-RelWithDebInfoAssert/swift-macosx-x86_64/./lib/swift/macosx/x86_64 -module-cache-path /Users/tonisuter/Projects/swift-source/build/Ninja-RelWithDebInfoAssert/swift-macosx-x86_64/./module-cache -no-link-objc-runtime -swift-version 3 -autolink-force-load -warn-swift3-objc-inference-complete -Xfrontend -sil-serialize-witness-tables -Fsystem /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/PrivateFrameworks/ -module-link-name swiftAVFoundation -force-single-frontend-invocation -parse-as-library @/Users/tonisuter/Projects/swift-source/build/Ninja-RelWithDebInfoAssert/swift-macosx-x86_64/stdlib/public/SDK/AVFoundation/XuChu.txt</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(197, 200, 198); background-color: rgb(22, 23, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&lt;module-includes&gt;:1:9: note: in file included from &lt;module-includes&gt;:1:</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(197, 200, 198); background-color: rgb(22, 23, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#import "Headers/AVFoundation.h"</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(197, 200, 198); background-color: rgb(22, 23, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp; ^</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(197, 200, 198); background-color: rgb(22, 23, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.h:88:9: error: 'AVFoundation/AVRouteDetector.h' file not found</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(197, 200, 198); background-color: rgb(22, 23, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#import &lt;AVFoundation/AVRouteDetector.h&gt;</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(197, 200, 198); background-color: rgb(22, 23, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp; ^</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(197, 200, 198); background-color: rgb(22, 23, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/Users/tonisuter/Projects/swift-source/swift/stdlib/public/SDK/AVFoundation/AVCaptureDevice.swift:13:19: error: could not build Objective-C module 'AVFoundation'</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(197, 200, 198); background-color: rgb(22, 23, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">@_exported import AVFoundation // Clang module</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(197, 200, 198); background-color: rgb(22, 23, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(197, 200, 198); background-color: rgb(22, 23, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[9/417] Compiling /Users/tonisuter/Projects/swift-source/build/Ninja-RelWithDebInfoAssert/swift-macosx-x86_64/stdlib/public/SDK/SceneKit/macosx/x86_64/SceneKit.o</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(197, 200, 198); background-color: rgb(22, 23, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">ninja: build stopped: subcommand failed.</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(197, 200, 198); background-color: rgb(22, 23, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting</span></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Thanks and best regards</div><div class=""><br class=""></div><div class="">Toni</div></div>_______________________________________________<br class="">swift-dev mailing list<br class=""><a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-dev<br class=""></div></blockquote></div><br class=""></div></body></html>