info: Starting Appium in pre-launch mode
info: Pre-launching app
info: Got configuration error, not starting session
info: Cleaning up appium session
error: Could not determine your device from Appium arguments or desired capabilities. Please make sure to specify the 'deviceName' capability
Attached the screen shot of the prefences.
info: Starting Appium in pre-launch mode
info: Pre-launching app
info: Using local app from command line: /Users/tathagatamitra/Library/Developer/Xcode/DerivedData/NativeiOSShell-ftihqpadtkyouwgfzmljsyjswapy/Build/Products/Release-iphoneos/xxx.app
info: Creating new appium session 0bc3d056-b4fe-41e7-b169-aa3fcf5cf241
info: Removing any remaining instruments sockets
info: Cleaned up instruments socket /tmp/instruments_sock
info: Cleaning up any tracedirs
info: No tracedirs to clean up
info: Setting Xcode folder
info: Setting Xcode version
info: Setting iOS SDK Version
info: iOS SDK Version set to 7.0
info: Detecting automation tracetemplate
info: Not auto-detecting udid, running on sim
debug: Creating instruments
info: Parsed app Localizable.strings
info: Not setting locale because we're using a real device
info: Not setting iOS and app preferences since we're on a real device
info: Starting iOS device log capture via idevicesyslog
info: Not setting device type since we're connected to a device
info: Creating iDevice object with udid 81e4999f0822918b713b3d369a0a9a0c3769555f
info: Couldn't find ideviceinstaller, trying built-in at /Applications/Appium.app/Contents/Resources/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller
info: Installing app using cmd: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap install --id 81e4999f0822918b713b3d369a0a9a0c3769555f --bundle "/Users/tathagatamitra/Library/Developer/Xcode/DerivedData/NativeiOSShell-ftihqpadtkyouwgfzmljsyjswapy/Build/Products/Release-iphoneos/xxx.app"
info: Cleaning up appium session
error: Could not pre-launch appium: Error: Unable to install [/Users/tathagatamitra/Library/Developer/Xcode/DerivedData/NativeiOSShell-ftihqpadtkyouwgfzmljsyjswapy/Build/Products/Release-iphoneos/xxx.app] to device with id [81e4999f0822918b713b3d369a0a9a0c3769555f]. Error [Error: Command failed: Assertion failed: (AMDeviceValidatePairing(device) == 0), function handle_device, file fruitstrap.c, line 513.
]
Simulator session timed out.Instruments Trace Error : Error Starting Recording".Can you run on simulator?
info: Starting Appium in pre-launch mode
info: Pre-launching app
info: Using local app from command line: /Users/tathagatamitra/Library/Developer/Xcode/DerivedData/NativeiOSShell-ftihqpadtkyouwgfzmljsyjswapy/Build/Products/Release-iphoneos/xxx.app
info: Creating new appium session 130e950e-aeee-40b3-9876-135943ff10db
info: Removing any remaining instruments sockets
info: Cleaned up instruments socket /tmp/instruments_sock
info: Cleaning up any tracedirs
info: No tracedirs to clean up
info: Setting Xcode folder
info: Setting Xcode version
info: Setting iOS SDK Version
info: iOS SDK Version set to 7.0
info: Detecting automation tracetemplate
info: Not auto-detecting udid, running on sim
info: Parsed app Localizable.strings
info: Not setting locale because we're using a real device
debug: Creating instruments
info: Not setting iOS and app preferences since we're on a real device
info: Starting iOS device log capture via idevicesyslog
info: Not setting device type since we're connected to a device
info: Creating iDevice object with udid 81e4999f0822918b713b3d369a0a9a0c3769555f
info: Couldn't find ideviceinstaller, trying built-in at /Applications/Appium.app/Contents/Resources/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller
info: Installing app using cmd: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap install --id 81e4999f0822918b713b3d369a0a9a0c3769555f --bundle "/Users/tathagatamitra/Library/Developer/Xcode/DerivedData/NativeiOSShell-ftihqpadtkyouwgfzmljsyjswapy/Build/Products/Release-iphoneos/xxx.app"
debug: [IOS_SYSLOG_ROW ] May 23 14:54:36 iPhone mobile_installation_proxy[101] <Warning>: LaunchServices: Please include the kCFBundleIdentifierKey in the options dictionary when installing an app.
debug: [IOS_SYSLOG_ROW ] May 23 14:54:36 iPhone mobile_installation_proxy[101] <Warning>: LaunchServices: installing app for existing placeholder (null)
debug: [IOS_SYSLOG_ROW ] May 23 14:54:36 iPhone installd[17] <Notice>: 0x10050c000 handle_install_for_ls: Install of "/var/mobile/Media/PublicStaging/xxx.app" requested by mobile_installation_proxy
debug: [IOS_SYSLOG_ROW ] May 23 14:54:36 iPhone installd[17] <Notice>: 0x10050c000 MobileInstallationInstall_Server: Installing app com.perceptivesoftware.xxxx
debug: [IOS_SYSLOG_ROW ] May 23 14:54:37 iPhone lockdownd[25] <Error>: FAILURE: Failed to open property list at file:///private/var/db/launchd.db/com.apple.launchd/overrides.plist for reading. (The operation couldn’t be completed. No such file or directory)
debug: [IOS_SYSLOG_ROW ] May 23 14:54:44 iPhone installd[17] <Notice>: 0x10050c000 MobileInstallationInstall_Server: Staging: 0.03s; Waiting: 0.00s; Installation: 7.78s; LS Sync: 0.00s; Overall: 7.81s
debug: [IOS_SYSLOG_ROW ] May 23 14:54:44 iPhone /usr/libexec/lsd[77] <Error>: Need to synchronize with MobileInstallation
debug: [IOS_SYSLOG_ROW ] May 23 14:54:44 iPhone /usr/libexec/lsd[77] <Notice>: LaunchServices: Adding com.perceptivesoftware.xxx to registration list
debug: [IOS_SYSLOG_ROW ] May 23 14:54:44 iPhone lsd[77] <Warning>: LaunchServices: Updating identifier store
debug: Starting instruments
info: Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments
debug: [IOS_SYSLOG_ROW ] May 23 14:54:44 iPhone syncdefaultsd[556] <Notice>: (Note ) SYDAccount: no account
info: [INSTSERVER] Instruments socket server started at /tmp/instruments_sock
info: Attempting to run app on real device with UDID 81e4999f0822918b713b3d369a0a9a0c3769555f
info: Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -w 81e4999f0822918b713b3d369a0a9a0c3769555f /Users/tathagatamitra/Library/Developer/Xcode/DerivedData/NativeiOSShell-ftihqpadtkyouwgfzmljsyjswapy/Build/Products/Release-iphoneos/xxx.app -e UIASCRIPT /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/uiauto/bootstrap.js -e UIARESULTSPATH /tmp/appium-instruments
info: And extra without-delay env: {}
info: And launch timeouts (in ms): {"global":90000}
debug: [IOS_SYSLOG_ROW ] May 23 14:54:44 iPhone syncdefaultsd[556] <Notice>: (Note ) SYDPIMAccount: no account (null)
debug: [IOS_SYSLOG_ROW ] May 23 14:54:44 iPhone syncdefaultsd[556] <Notice>: (Note ) SYDAlwaysOnAccount: no account (null)
debug: [IOS_SYSLOG_ROW ] May 23 14:54:45 iPhone SpringBoard[16] <Error>: libMobileGestalt MobileGestalt.c:835: any-telephony is static and will never generate a notification
debug: [IOS_SYSLOG_ROW ] May 23 14:54:45 iPhone SpringBoard[16] <Error>: libMobileGestalt MobileGestalt.c:835: magnetometer is static and will never generate a notification
debug: [IOS_SYSLOG_ROW ] May 23 14:54:45 iPhone SpringBoard[16] <Error>: libMobileGestalt MobileGestalt.c:835: still-camera is static and will never generate a notification
debug: [IOS_SYSLOG_ROW ] May 23 14:54:45 iPhone SpringBoard[16] <Error>: libMobileGestalt MobileGestalt.c:835: stand-alone-contacts is static and will never generate a notification
debug: [IOS_SYSLOG_ROW ] May 23 14:54:45 iPhone SpringBoard[16] <Error>: libMobileGestalt MobileGestalt.c:835: nike-ipod is static and will never generate a notification
info: [INST STDERR] Instruments Trace Error : instruments unable to trace device while Instruments is running. Please try starting instruments after quitting Instruments(7026).
info: [INSTSERVER] Instruments exited with code 1
info: Killall instruments
info: Attempting to retry launching instruments, this is retry #1
info: Killall iPhoneSimulator
info: Attempting to run app on real device with UDID 81e4999f0822918b713b3d369a0a9a0c3769555f
info: Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -w 81e4999f0822918b713b3d369a0a9a0c3769555f /Users/tathagatamitra/Library/Developer/Xcode/DerivedData/NativeiOSShell-ftihqpadtkyouwgfzmljsyjswapy/Build/Products/Release-iphoneos/xxx.app -e UIASCRIPT /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/uiauto/bootstrap.js -e UIARESULTSPATH /tmp/appium-instruments
info: And extra without-delay env: {}
info: And launch timeouts (in ms): {"global":90000}
info: [INST STDERR] Instruments Trace Error : instruments unable to trace device while Instruments is running. Please try starting instruments after quitting Instruments(7026).
info: [INSTSERVER] Instruments exited with code 1
info: Killall instrument
info: Attempting to retry launching instruments, this is retry #2
info: Killall iPhoneSimulator
info: Attempting to run app on real device with UDID 81e4999f0822918b713b3d369a0a9a0c3769555f
info: Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -w 81e4999f0822918b713b3d369a0a9a0c3769555f /Users/tathagatamitra/Library/Developer/Xcode/DerivedData/NativeiOSShell-ftihqpadtkyouwgfzmljsyjswapy/Build/Products/Release-iphoneos/xxx.app /tmp/appium-instruments
info: And extra without-delay env: {}
info: And launch timeouts (in ms): {"global":90000}
info: [INST STDERR] Instruments Trace Error : instruments unable to trace device while Instruments is running. Please try starting instruments after quitting Instruments(7026).
info: [INSTSERVER] Instruments exited with code 1
info: Killall instruments
info: Attempting to retry launching instruments, this is retry #3
info: Killall iPhoneSimulator
info: Attempting to run app on real device with UDID 81e4999f0822918b713b3d369a0a9a0c3769555f
info: Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -w 81e4999f0822918b713b3d369a0a9a0c3769555f /Users/tathagatamitra/Library/Developer/Xcode/DerivedData/NativeiOSShell-ftihqpadtkyouwgfzmljsyjswapy/Build/Products/Release-iphoneos/xxx.app -e UIASCRIPT /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/uiauto/bootstrap.js -e UIARESULTSPATH /tmp/appium-instruments
info: And extra without-delay env: {}
info: And launch timeouts (in ms): {"global":90000}
debug: [IOS_SYSLOG_ROW ] May 23 14:55:04 iPhone lockdownd[25] <Notice>: 01bcc000 _select_socket: receive secure message timeout!
debug: [IOS_SYSLOG_ROW ] May 23 14:55:04 iPhone lockdownd[25] <Notice>: 01bcc000 _receive_message: walk away - non-SSL 1
info: [INST STDERR] Instruments Trace Error : instruments unable to trace device while Instruments is running. Please try starting instruments after quitting Instruments(7026).
info: [INSTSERVER] Instruments exited with code 1
info: Killall instruments
error: Instruments crashed on startup
info: Stopping iOS log capture
info: Killing the simulator process
info: Killing any other simulator daemons
info: Cleaning app state.
info: No folders found to remove
error: Could not pre-launch appium: Error: Instruments crashed on startup
info: Cleaning up appium session