xcode 10 support?

Stan's Avatar

Stan

26 Jul, 2018 10:17 AM

(lldb) reveal load error: target x86_64-apple-ios10.0.0 is not supported by Reveal Server

Using Reveal 11 - do I need a paid upgrade for it to work?

  1. Support Staff 1 Posted by Vlas Voloshin on 26 Jul, 2018 11:21 AM

    Vlas Voloshin's Avatar

    Hi Stan,

    It certainly looks like in Xcode 10 the format of architecture string reported by the debugger has changed, and debugger support script shipped in Reveal 11 fails to recognise it. At this point it's not clear whether this behaviour is a deliberate change in the latest betas or not, but looks like the latest version of Reveal is not affected by it due to an earlier improvement made to the debugger support script.

    Renewing your license is of course the easiest way to fix this issue – and would also allow you to benefit from all other improvements and fixes released since v11, and for another year ahead. But alternatively, there are a few options to work around the issue while still using Reveal 11:

    • You can switch to a different integration method, for example CocoaPods. Our Integration Guide goes into more details.
    • You can temporarily change the deployment target of your app to iOS 12 – it looks like in this case target architecture reported by the debugger doesn't include the version number, so Reveal's support script recognises that successfully.
    • In case this turns out to be a temporary change in Xcode 10 and gets reverted, avoiding it for the moment is another option.
    • Finally, the most convoluted, yet effective workaround: point the debugger to a fixed version of the script.
      • Download the latest version of Reveal, but don't replace your current installation.
      • Open this version as a bundle (⌃Click on the app and select Show Package Contents), and navigate to Contents/SharedSupport/Scripts/ directory in it.
      • Copy RevealServerCommands.py file from that directory to some location, e.g. to your Desktop. You can then delete this version of the app.
      • Open this new copy of RevealServerCommands.py in a text editor, e.g. Xcode. On line 12, replace the expression assigned to revealLocalSharedSupportPath with "/Applications/Reveal.app/Contents/SharedSupport" (assuming your Reveal 11 installation is at /Applications/Reveal.app), and save the file.
      • Open ~/.lldbinit file in a text editor (the easiest would be to execute open ~/.lldbinit command in Terminal). Under DO NOT MODIFY line, replace the path after command script import command with ~/Desktop/RevealServerCommands.py (assuming you've placed the fixed script on Desktop).
      • Restart Xcode, run your app, and try inspecting it with Reveal.
        • If you see a "Repair Debugger Commands" dialog appearing, click "Not Now", checking "Do not show this message again" if you prefer. Note that if you use that checkbox, you'll need to remember to manually undo the modifications to ~/.lldbinit you've made here whenever you decide to upgrade to the latest version of Reveal.

    I hope that's useful! Please let me know if you have any trouble or other questions.

    Best regards,
    Vlas.

  2. 2 Posted by Stanislav Kutil on 26 Jul, 2018 03:36 PM

    Stanislav Kutil's Avatar

    Perfect,

    using the new RevealServerCommands.py worked fine.
    Thank you.

  3. Tony Arnold closed this discussion on 30 Jul, 2018 12:23 AM.

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

Keyboard shortcuts

Generic

? 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