How to collect ADB and XCODE logs for XenMobile

How to collect ADB and XCODE logs for XenMobile

book

Article ID: CTX206989

calendar_today

Updated On:

Description

To make users aware on how they can collect the ADB logs and XCODE logs

 

Instructions

Steps on how to collect ADB logs: 

1. Install the Android Debug Bridge using
http://developer.android.com/tools/help/adb.html
2. Open the Tools directory and select:
  • Android SDK Tools
  • Android SDK Platforms-tools
  • Android SDK Build-tools 
3. Enable USB debugging on your phone: 
  • Phone>Settings>About Phone>Tap the "Build Number" seven times. You should see get the message saying you are now a developer.
  • Go to Developer options on phone and turn on USB debugging 
4. To test whether adb is working properly, connect your Android device to your computer using a USB cable and run following  command: 
adb devices 

Run the following commands:
5.   If we are capturing ADB logs please use 
adb shell logcat –v threadtime > <logfilename> (replace logfilename with the path to the log file, eg: c:\adblogs.txt) 
6.   Secure/Worx bundle should contain the device properties when we capture the Secure Hub logs and the MDX app logs however in future if we are in a situation where such an option isn’t available, we can use 
adb shell getprop  > <logfilename> 

Steps on how to collect XCODE logs:

1. Connect your iOS device to your Mac and then open Xcode. Select Window > Devices.
2. Screen will pop-up which has a list of devices connected to MAC machine
3. Select the device and then collect the logs 
 

Issue/Introduction

ADB logs for Android devices and XCODE logs for iOS devices

Additional Information