<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="margin: 0px; line-height: normal;" class="">When I generate the Xcode project with build support the build script hangs while the first target with name <font face="Menlo" style="font-size: 12px;" class="">add_custom_target-</font>… is build. The CPU usage eventually drops down to 0% as well and the build script seems to have reached a deadlock. Cancelling the script using Ctrl-C reveals that Python is indeed currently waiting for another process (see the attached command line output). The issue arises both when doing a clean build and limiting the number of parallel build jobs using <span style="font-family: Menlo; font-size: 11px;" class="">--build-jobs 1</span>.</div><div style="margin: 0px; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; line-height: normal;" class="">Did anybody else encounter this issue or has an idea how to resolve it?</div><div style="margin: 0px; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; line-height: normal;" class="">– Alex</div><div style="margin: 0px; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; line-height: normal;" class="">Console dump when generating Xcode project with build support using <font face="Menlo" class=""><span style="font-size: 11px;" class="">utils/build-script -x — --reconfigure</span></font></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 187, 199);" class=""><b class=""><br class=""></b></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 187, 199);" class=""><b class="">=== BUILD AGGREGATE TARGET add_custom_command_target-e9921534bbdd1fa0076bd83ddd0b8689-SortedCFDatabase.def OF PROJECT Swift WITH CONFIGURATION Debug ===</b></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">Check dependencies</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">Write auxiliary files</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">write-file /Users/Alex/Documents/Developer/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/lib/ClangImporter/Swift.build/Debug/add_custom_command_target-e9921534bbdd1fa0076bd83ddd0b8689-SortedCFDatabase.def.build/Script-24E01124975144E9952C17C3.sh</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">chmod 0755 /Users/Alex/Documents/Developer/swift/build/Xcode-DebugAssert/swift-macosx-x86_64/lib/ClangImporter/Swift.build/Debug/add_custom_command_target-e9921534bbdd1fa0076bd83ddd0b8689-SortedCFDatabase.def.build/Script-24E01124975144E9952C17C3.sh</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">** BUILD INTERRUPTED **</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">Traceback (most recent call last):</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""> File "utils/build-script", line 998, in <module></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""> sys.exit(main())</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""> File "utils/build-script", line 994, in main</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""> return main_normal()</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""> File "utils/build-script", line 954, in main_normal</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""> check_call(build_script_impl_args)</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""> File "/Users/Alex/Documents/Developer/swift/swift/utils/SwiftBuildSupport.py", line 79, in check_call</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""> return subprocess.check_call(args)</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""> File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 535, in check_call</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""> retcode = call(*popenargs, **kwargs)</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""> File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 522, in call</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""> return Popen(*popenargs, **kwargs).wait()</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""> File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1384, in wait</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""> pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0)</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""> File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 476, in _eintr_retry_call</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""> return func(*args)</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">KeyboardInterrupt</div></body></html>