Reveal server not starting on Xcode 9

andy's Avatar


27 Sep, 2017 10:51 PM

I updated to Xcode 9 and Reveal server is no longer loading. I removed and re-added the Debugger Commands. My .lldbinit command has the correct command. The file referred to in the .lldbinit command exists at the specified location. I ran the "script" command at the lldb prompt in the debugger and found this:

(lldb) script Traceback (most recent call last):
File "", line 1, in NameError: name 'run_python_interpreter' is not defined

Python is installed on my system at


and that path in on my $PATH. I am using Reveal 11 (reported as latest version). Any idea how I can get this to work? Thanks

  1. Support Staff 1 Posted by Tony Arnold on 28 Sep, 2017 12:15 PM

    Tony Arnold's Avatar

    Hi Andy,

    Can you tell me what version of Python is installed at /usr/local/bin/python? I'm not sure if our scripts work with Python version 3.x.



  2. 2 Posted by andy on 28 Sep, 2017 06:32 PM

    andy's Avatar

    Hi Tony -

    thanks for the reply.

    It is Python v 2.7.13 (installed via Homebrew)


  3. Support Staff 3 Posted by Tony Arnold on 01 Oct, 2017 10:14 PM

    Tony Arnold's Avatar

    Thanks for that info.

    Our bundled LLDB script explicitly specifies #!/usr/bin/python, so it wouldn't be using the copy of Python installed in /usr/local.

    Would you be willing to share your ~/.lldbinit?

    I'm sorry I don't have a quick answer for your, this isn't something I've encountered before.

  4. 4 Posted by andy on 01 Oct, 2017 10:17 PM

    andy's Avatar

    Hi Tony -

    There is a Python at that location also, and it is the same version 2.7.10

    my lldbinit:

    command script import "~/Library/Application Support/Realm/" --allow-reload
    command alias uikit expr @import UIKit
    command alias foundation expr @import Foundation
    display @import UIKit
    target stop-hook add -o "target stop-hook disable"
    ### Reveal LLDB commands support - DO NOT MODIFY
    command script import /Applications/



  5. Support Staff 5 Posted by Tony Arnold on 01 Oct, 2017 10:26 PM

    Tony Arnold's Avatar


    I'll setup my environment to look like yours, but a few things come to mind:

    1. It might be the Finder's quarantine bit - you can clear this using: xattr -rc /Applications/ - you may need to use sudo, given the app's location.
    2. If that doesn't work, you could try commenting out the import statement on the first line of your LLDB init - I'll check that the Realm scripts work here as well.
    3. Check that you haven't integrated Reveal's server framework in some way other than the LLDB init script.

    Let me know what you find - I'm going to do testing on my end now.

    Thanks for being patient while I sort through this.

  6. 6 Posted by andy on 01 Oct, 2017 10:40 PM

    andy's Avatar

    Hi Tony -

    The quarantine bit did the trick:

    Loading Reveal Server from /Applications/
    Reveal Server was loaded successfully.

    Thanks for following through on this - and thanks for staying ahead of Apple in view debugging.


  7. Support Staff 7 Posted by Tony Arnold on 01 Oct, 2017 10:42 PM

    Tony Arnold's Avatar

    The quarantine bit did the trick

    Thanks for letting me know, that's great to hear!

    thanks for staying ahead of Apple in view debugging

    You're very welcome, thanks for using Reveal 😀

  8. Tony Arnold closed this discussion on 01 Oct, 2017 10:42 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac