[swift-lldb-dev] Building and running swift-lldb from Xcode not working :(

Todd Fiala tfiala at apple.com
Wed Oct 5 15:50:56 CDT 2016


> On Oct 5, 2016, at 1:41 PM, Rex Fenley via swift-lldb-dev <swift-lldb-dev at swift.org> wrote:
> 
> Hey swift lldb team!
> 
> I tried building the LLDB target from within Xcode. However, I get the following error during compilation:
> subprocess.CalledProcessError: Command '['python', '/Users/Rex/Documents/projects/swift-lldb/llvm/tools/swift/utils/build-script', '--preset=LLDB_Swift_ReleaseAssert', 'swift_install_destdir=/Users/Rex/Documents/projects/swift-lldb/llvm-build/ReleaseAssert/swift-macosx-x86_64']' returned non-zero exit status 1
> 

That message indicates that the LLVM/clang/Swift build portion of the Xcode-driven build failed.  There should be actual failure content from build-script somewhere above the ‘exit status 1’ portion.  You might need to go to your build log (the Report Navigator, right-most speech-bubble-like icon from the left pane of Xcode).  There should be a build log that details everything the Xcode build did, of which running the build-script is one stage.

Just to verify, what Xcode scheme and/or configuration are you building?  It should be the ‘desktop’ scheme, which will default to the DebugClang (or maybe Debug) configuration.
> And much further up I see
> 
> warning: A compatible version of re2c (>= 0.11.3) was not found; changes to src/*.in.cc will not affect your build.
> 
> 
> and
> 
> error: unknown setting: cmark-cmake-options
> 
> How may I fix this/these issues to build and run lldb from Xcode?
> 
> Thanks :)
> 
> 
> -- 
> Rex Fenley  |  IOS DEVELOPER
> 
> 
> Remind.com <https://www.remind.com/> |  BLOG <http://blog.remind.com/>  |  FOLLOW US <https://twitter.com/remindhq>  |  LIKE US <https://www.facebook.com/remindhq>_______________________________________________
> swift-lldb-dev mailing list
> swift-lldb-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-lldb-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-lldb-dev/attachments/20161005/7f1ac7eb/attachment.html>


More information about the swift-lldb-dev mailing list