Re: [swift-lldb-dev] Cannot use swift REPL from stand alone lldb build

2016-10-07 Thread Enrico Granata via swift-lldb-dev
> On Oct 7, 2016, at 2:43 PM, Rex Fenley wrote: > > Thanks Enrico! Is there a download at swift.org that has > the patch available or do I have to manually apply it to the source? I believe you're going to have to manually apply the patch > And what about "SDK Path: error:

Re: [swift-lldb-dev] Cannot use swift REPL from stand alone lldb build

2016-10-07 Thread Rex Fenley via swift-lldb-dev
Thanks Enrico! Is there a download at swift.org that has the patch available or do I have to manually apply it to the source? And what about "SDK Path: error: unable to locate SDK No devices are available." errors when I simply try to run the lldb from the toolchain downloaded from swift.org? I fol

Re: [swift-lldb-dev] Cannot use swift REPL from stand alone lldb build

2016-10-07 Thread Enrico Granata via swift-lldb-dev
While I haven't done any diagnosing on your actual issue, I believe that this is a known issue, and the requisite fix is already available - even if only not the llvm.org side, as: r278166 | enrico | 2016

Re: [swift-lldb-dev] Cannot use swift REPL from stand alone lldb build

2016-10-07 Thread Rex Fenley via swift-lldb-dev
Hey Jim! Anything we can do here to have the toolchain lldb find our simulator? On Fri, Oct 7, 2016 at 11:57 AM, Rex Fenley wrote: > Hey Jim! > > I downloaded the toolchain from the swift website, attached the toolchain > to Xcode 8, rebuilt the app, ran the lldb included in the toolchain, but >

Re: [swift-lldb-dev] Cannot use swift REPL from stand alone lldb build

2016-10-07 Thread Rex Fenley via swift-lldb-dev
Hey Jim! I downloaded the toolchain from the swift website, attached the toolchain to Xcode 8, rebuilt the app, ran the lldb included in the toolchain, but then got stuck trying to select the correct platform and simulator $ /Library/Developer/Toolchains/swift-3.0-RELEASE.xctoolchain/usr/bin/lldb

Re: [swift-lldb-dev] Cannot use swift REPL from stand alone lldb build

2016-10-07 Thread Rex Fenley via swift-lldb-dev
We're using the `swift-3.0-RELEASE` tag from the swift-lldb github repo to build lldb and we are building our app with Xcode 8. Are these not the same swift versions? On Fri, Oct 7, 2016 at 10:48 AM, Jim Ingham wrote: > This error usually comes from some Swift component in you app not being > bu

Re: [swift-lldb-dev] Cannot use swift REPL from stand alone lldb build

2016-10-07 Thread Jim Ingham via swift-lldb-dev
This error usually comes from some Swift component in you app not being built with exactly the same Swift compiler as the one that the lldb you are using is built with. For instance, if you are building your own lldb, you have to use the Swift compiler that's built in the process of building ll

Re: [swift-lldb-dev] Cannot use swift REPL from stand alone lldb build

2016-10-07 Thread Rex Fenley via swift-lldb-dev
Hey Todd! Any news from this investigation on your end? Still haven't figured out a way around this on my end yet. On Fri, Oct 7, 2016 at 7:54 AM, Rex Fenley wrote: > Indeed, that's our app name, there are no spaces. Thanks for all the help! > > > On Thursday, October 6, 2016, Todd Fiala wrote:

Re: [swift-lldb-dev] Cannot use swift REPL from stand alone lldb build

2016-10-07 Thread Dmitry Shevchenko via swift-lldb-dev
Hi Rex, I am seeing errors like this when using a custom built lldb on a binary that is built with a different toolchain. If your app is built by Xcode with its default toolchain, then debugging it with lldb built from scratch will cause issues. You can build your own toolchain and use it in Xcod

Re: [swift-lldb-dev] Cannot use swift REPL from stand alone lldb build

2016-10-07 Thread Rex Fenley via swift-lldb-dev
Indeed, that's our app name, there are no spaces. Thanks for all the help! On Thursday, October 6, 2016, Todd Fiala wrote: > Hi Rex, > > > > On Thu, Oct 6, 2016 at 5:22 PM, Rex Fenley via swift-lldb-dev < > swift-lldb-dev@swift.org > > wrote: > >> Hi! >> >> I run lldb, platform select ios-simula

Re: [swift-lldb-dev] Cannot use swift REPL from stand alone lldb build

2016-10-06 Thread Todd Fiala via swift-lldb-dev
Hi Rex, On Thu, Oct 6, 2016 at 5:22 PM, Rex Fenley via swift-lldb-dev < swift-lldb-dev@swift.org> wrote: > Hi! > > I run lldb, platform select ios-simulator, connect to the right simulator > and attach to my app and when trying to try to do anything in the repl I > get the following kind of err

[swift-lldb-dev] Cannot use swift REPL from stand alone lldb build

2016-10-06 Thread Rex Fenley via swift-lldb-dev
Hi! I run lldb, platform select ios-simulator, connect to the right simulator and attach to my app and when trying to try to do anything in the repl I get the following kind of error at the bottom for an Abort, please help! The repl works fine in Xcode, not sure why it wouldn't work in this case.