Installation Guide

Michael Davis edited this page Sep 21, 2017 · 7 revisions

Requirements

UI Sleuth requires Xamarin.Forms 2.3.3.193 or higher. Please review Xamarin's software requirements for further information.

Step 1

Download the Windows Desktop Client or macOS Desktop Client. Windows 7+ 64bit and macOS 10.11+ are supported.

Step 2

Type the following command at the Nuget Package Manager Console. You may also search for the package using Xamarin Studio or Visual Studio for Mac. Ensure your Xamarin.Android or Xamarin.iOS project is the target.

PM> Install-Package UISleuth

Step 3

In your Android project's MainActivity class, add the following lines after the call to LoadApplication():

#if DEBUG
    UISleuth.Inspector.Init();
    // optional
    UISleuth.Inspector.ShowAcceptingConnections();
#endif

Step 4

In your iOS project's AppDelegate class, add the following lines after the call to LoadApplication():

#if DEBUG
    UISleuth.Inspector.Init();
    // optional
    UISleuth.Inspector.ShowAcceptingConnections();
#endif

Step 5

Compile, deploy, and launch your app.

Step 6

Using the "Discovery" or "Manual Connection" tab, connect to your running mobile application.

Troubleshooting

UI Sleuth can be used with an emulator or physical device. If you are unable to connect to your mobile application, ensure your development computer has network connectivity to your device.

If you are using Google's Android Emulator, you may need to follow the steps on the Troubleshooting Guide.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.