Log capture did not start in a reasonable amount of time

I’m using Appium 1.3.1, Xcode 6.1 on iPhone 5s. I ran into this problem recently, can’t find solution so far so I’m posting it here. Please help me out, tks!

error: Failed to start an Appium session, err was: Error: Log capture did not start in a reasonable amount of time

Full log:

info: Client User-Agent string: Apache-HttpClient/4.3.3 (java 1.5)

info: [debug] App is an iOS bundle, will attempt to run as pre-existing
info: [debug] Creating new appium session b551593a-599e-48a1-88cc-f65905eec655
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Setting Xcode folder

info: [debug] Setting Xcode version

info: [debug] Setting iOS SDK Version

info: [debug] Getting sdk version from xcrun with a timeout

info: [debug] iOS SDK Version set to 8.1

info: [debug] Not checking whether simulator is available since we're on a real device
info: [debug] Detecting automation tracetemplate

info: [debug] Not auto-detecting udid, running on sim
info: [debug] Could not parse plist file (as binary) at /Applications/Appium.app/Contents/Resources/node_modules/appium/com.app.Application/en.lproj/Localizable.strings
info: Will try to parse the plist file as XML
info: [debug] Could not parse plist file (as XML) at /Applications/Appium.app/Contents/Resources/node_modules/appium/com.app.Application/en.lproj/Localizable.strings
warn: Could not parse app Localizable.strings; assuming it doesn't exist
info: [debug] Creating instruments
info: On some xcode 6 platforms, instruments-without-delay does not work. If you experience this, you will need to re-run appium with the --native-instruments-lib flag
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/thain/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {"nodePath":"/Applications/Appium.app/Contents/Resources/node/bin/node","commandProxyClientPath":"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js","instrumentsSock":"/tmp/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false}

`parseFileSync()` is deprecated. Use `parseStringSync()` instead.

info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
...
info: [debug] Dynamic bootstrap path: /Users/thain/Library/Application Support/appium/bootstrap/bootstrap-60f23230385b0cfa.js
info: [debug] Reusing dynamic bootstrap: /Users/thain/Library/Application Support/appium/bootstrap/bootstrap-60f23230385b0cfa.js
info: [debug] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"6.1","iOSSDKVersion":"8.1","deviceName":"iPhone","platformVersion":null}
info: [debug] fixDevice is on
info: [debug] Final device string is: 'iPhone (8.1 Simulator)'
info: [debug] Not setting device type since we're on a real device
info: [debug] Checking whether we need to set app preferences
info: [debug] Not setting iOS and app preferences since we're on a real device
info: [debug] Running ios sim reset flow
info: [debug] Killing the simulator process
info: [debug] Killall iOS Simulator
info: [debug] Killing any other simulator daemons

info: [debug] On a real device; cannot clean device state
info: [debug] Not setting locale because we're using a real device
info: [debug] No iOS / app preferences to set
info: [debug] Starting iOS device log capture via deviceconsole

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.1","revision":"1160ce02bb89c354cb99317985123acf39f0e7d3"},"isShuttingDown":false},"sessionId":"b551593a-599e-48a1-88cc-f65905eec655"}

info: <-- GET /wd/hub/status 200 1.833 ms - 178 {"status":0,"value":{"build":{"version":"1.3.1","revision":"1160ce02bb89c354cb99317985123acf39f0e7d3"},"isShuttingDown":false},"sessionId":"b551593a-599e-48a1-88cc-f65905eec655"}

error: Log capture did not start in a reasonable amount of time

info: [debug] Cleaning up appium session

error: Failed to start an Appium session, err was: Error: Log capture did not start in a reasonable amount of time

info: [debug] Error: Log capture did not start in a reasonable amount of time
    at null._onTimeout (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/ios/ios-log.js:106:10)
    at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Log capture did not start in a reasonable amount of time)","origValue":"Log capture did not start in a reasonable amount of time"},"sessionId":null}
info: <-- POST /wd/hub/session 500 11091.342 ms - 234 
info: [debug] Not pre-launching simulator
info: [debug] Creating iDevice object with udid a4a1b7ef1ff4e9cdb3f0e6c6a86ba4999fe5b5

info: [debug] Couldn't find ideviceinstaller, trying built-in at /Applications/Appium.app/Contents/Resources/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller
info: [debug] Checking app install status using: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id a4a1b7ef1ff4e9cdb3f0e6c6a86ba4999fe5b5 --bundle com.app.Application

i’m also facing the same problem while i’m trying to load the appium inspector. This is after i upgrade appium into 1.3.1. Please see the below error log. Any solution for this? thanks in advance.

================================================
error: Log capture did not start in a reasonable amount of time

info: [debug] Cleaning up appium session

error: Failed to start an Appium session, err was: Error: Log capture did not start in a reasonable amount of time

info: [debug] Error: Log capture did not start in a reasonable amount of time
at null._onTimeout (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/ios/ios-log.js:106:10)
at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)
info: [debug] Responding to client with error: {“status”:33,“value”:{“message”:“A new session could not be created. (Original error: Log capture did not start in a reasonable amount of time)”,“origValue”:“Log capture did not start in a reasonable amount of time”},“sessionId”:null}
info: <-- POST /wd/hub/session 500 10889.999 ms - 234
info: [debug] Not pre-launching simulator
info: [debug] Creating iDevice object with udid 7B8B0790967D1B6D1B17C984D7D3BE60701787CF
info: [debug] Couldn’t find ideviceinstaller, trying built-in at /Applications/Appium.app/Contents/Resources/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller
info: [debug] Checking app install status using: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id 7B8B0790967D1B6D1B17C984D7D3BE60701787CF --bundle com.pearson.CoursesiPhone

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}
info: <-- GET /wd/hub/status 200 1.472 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

@NamTThai Looks like it could be a bug. Can you repost to the appium github repo?

Thank you :slight_smile:

Hi
I’m facing the same issue.
trying to run appium on a real device (iphone 4s), using latest appium version (1.3.1), with Xcode 6.0.1

any idea how to get around it?

error: Log capture did not start in a reasonable amount of time

full log:

info: Welcome to Appium v1.3.1 (REV 1160ce02bb89c354cb99317985123acf39f0e7d3)

info: Appium REST http interface listener started on 0.0.0.0:4723
info: [debug] Non-default server args: {"app":"com.rocketplay.luckyplay","udid":"7e2e5bcec42851c4ddfd49555e1a0e345a891145","defaultDevice":true,"showSimulatorLog":true,"defaultCommandTimeout":7200}
warn: Deprecated server args: {"--show-sim-log":"use instead: --show-ios-log"}
info: Console LogLevel: debug

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.1","revision":"1160ce02bb89c354cb99317985123acf39f0e7d3"}}}

info: <-- GET /wd/hub/status 200 7.206 ms - 104 {"status":0,"value":{"build":{"version":"1.3.1","revision":"1160ce02bb89c354cb99317985123acf39f0e7d3"}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.1","revision":"1160ce02bb89c354cb99317985123acf39f0e7d3"}}}
info: <-- GET /wd/hub/status 200 2.108 ms - 104 {"status":0,"value":{"build":{"version":"1.3.1","revision":"1160ce02bb89c354cb99317985123acf39f0e7d3"}}}

info: --> POST /wd/hub/session {"desiredCapabilities":{"deviceName":"iphone","platformName":"iOS","browserName":""}}

info: Client User-Agent string: undefined

info: [debug] App is an iOS bundle, will attempt to run as pre-existing

info: [debug] Creating new appium session e4a95ddd-3ab6-4229-898c-c8bf47310b90

info: [debug] Removing any remaining instruments sockets

info: [debug] Cleaned up instruments socket /tmp/instruments_sock

info: [debug] Setting Xcode folder

info: [debug] Setting Xcode version

info: [debug] Setting iOS SDK Version

info: [debug] Getting sdk version from xcrun with a timeout

info: [debug] iOS SDK Version set to 8.0

info: [debug] Not checking whether simulator is available since we're on a real device
info: [debug] Detecting automation tracetemplate

info: [debug] Not auto-detecting udid, running on sim

info: [debug] Could not parse plist file (as binary) at /Applications/Appium.app/Contents/Resources/node_modules/appium/com.rocketplay.luckyplay/en.lproj/Localizable.strings
info: Will try to parse the plist file as XML
info: [debug] Could not parse plist file (as XML) at /Applications/Appium.app/Contents/Resources/node_modules/appium/com.rocketplay.luckyplay/en.lproj/Localizable.strings
warn: Could not parse app Localizable.strings; assuming it doesn't exist
info: [debug] Creating instruments
info: On some xcode 6 platforms, instruments-without-delay does not work. If you experience this, you will need to re-run appium with the --native-instruments-lib flag
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/gamingo/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {"nodePath":"/Applications/Appium.app/Contents/Resources/node/bin/node","commandProxyClientPath":"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js","instrumentsSock":"/tmp/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false}

`parseFileSync()` is deprecated. Use `parseStringSync()` instead.

info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
...

info: [debug] Dynamic bootstrap path: /Users/gamingo/Library/Application Support/appium/bootstrap/bootstrap-60f23230385b0cfa.js

info: [debug] Reusing dynamic bootstrap: /Users/gamingo/Library/Application Support/appium/bootstrap/bootstrap-60f23230385b0cfa.js

info: [debug] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"6.0.1","iOSSDKVersion":"8.0","deviceName":"iphone","platformVersion":null}
info: [debug] fixDevice is on
info: [debug] Final device string is: 'iphone (8.0 Simulator)'

info: [debug] Not setting device type since we're on a real device
info: [debug] Checking whether we need to set app preferences
info: [debug] Not setting iOS and app preferences since we're on a real device
info: [debug] Running ios sim reset flow
info: [debug] Killing the simulator process
info: [debug] Killall iOS Simulator
info: [debug] Killing any other simulator daemons

info: [debug] On a real device; cannot clean device state

info: [debug] Not setting locale because we're using a real device
info: [debug] No iOS / app preferences to set

info: [debug] Starting iOS device log capture via deviceconsole

error: Log capture did not start in a reasonable amount of time

info: [debug] Cleaning up appium session

error: Failed to start an Appium session, err was: Error: Log capture did not start in a reasonable amount of time

info: [debug] Error: Log capture did not start in a reasonable amount of time
    at null._onTimeout (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/ios/ios-log.js:106:10)
    at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Log capture did not start in a reasonable amount of time)","origValue":"Log capture did not start in a reasonable amount of time"},"sessionId":null}
info: <-- POST /wd/hub/session 500 11585.361 ms - 234 

info: [debug] Not pre-launching simulator

info: [debug] Creating iDevice object with udid 7e2e5bcec42851c4ddfd49555e1a0e345a891145
info: [debug] Checking app install status using: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id 7e2e5bcec42851c4ddfd49555e1a0e345a891145 --bundle com.rocketplay.luckyplay

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.1","revision":"1160ce02bb89c354cb99317985123acf39f0e7d3"}}}
info: <-- GET /wd/hub/status 200 1.536 ms - 104 {"status":0,"value":{"build":{"version":"1.3.1","revision":"1160ce02bb89c354cb99317985123acf39f0e7d3"}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.1","revision":"1160ce02bb89c354cb99317985123acf39f0e7d3"}}}
info: <-- GET /wd/hub/status 200 1.015 ms - 104 {"status":0,"value":{"build":{"version":"1.3.1","revision":"1160ce02bb89c354cb99317985123acf39f0e7d3"}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.1","revision":"1160ce02bb89c354cb99317985123acf39f0e7d3"}}}

info: <-- GET /wd/hub/status 200 1.725 ms - 104 {"status":0,"value":{"build":{"version":"1.3.1","revision":"1160ce02bb89c354cb99317985123acf39f0e7d3"}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.1","revision":"1160ce02bb89c354cb99317985123acf39f0e7d3"}}}

info: <-- GET /wd/hub/status 200 3.240 ms - 104 {"status":0,"value":{"build":{"version":"1.3.1","revision":"1160ce02bb89c354cb99317985123acf39f0e7d3"}}}

Tnx!

@jonahss: I found this thread: https://github.com/appium/appium/issues/3503. I think it’s better to reopen this issue? Old discussions might still apply.

in the meantime, i’v downgraded to appium 1.3.0-beta1 and the issue no longer happens.

@NamTThai that’s a pretty old issue. Maybe a new one would be better.

Hi

I am experiencing exactly the same issue. Even with the latest release v1.3.4.
Anybody found a working solution?

The workaround described at Log capture did not start in a reasonable amount of time did not work for me.

with best regards,
Nicolas

I had a same issue and tried re-installing the ios_webkit_debug_proxy and finally it worked for me. I am currently using Appium v1.3.4 and Xcode 5.1.1

Thanks,
Raman
www.way2automation.com

Hi Raman

Thx for the hint. Sadly reinstalling the ios_webkit_debug_proxy did not help. I am using XCode 6.1 by the way…

with best regards,
Nicoals

1 Like

Rebooting device solved the problem for me.

I am using Mac Os 10.10.1 and trying to launch the ios app through eclipse to perform some testing but getting this error dont know how to reseolve this issue. I have updated the appium to 1.3.4 but still same. Tried to launch same ios app with appium 1.3.3 GUI this app launches properly. Anyone can suggest anything.

info: Welcome to Appium v1.3.4 (REV 056f5bd277987bed391aef04acf2be38ea161e50)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: Console LogLevel: debug
info: --> POST /wd/hub/session {“desiredCapabilities”:{“app”:"/Users/Anand/Library/Developer/Xcode/DerivedData/Passport-dtutyhtjuncbbnhacstomnqkjttc/Build/Products/Debug-iphonesimulator/Passport.app",“appium-version”:“1.0”,“platformVersion”:“7.1”,“browserName”:"",“platformName”:“iOS”,“udid”:“13FF8920-587E-4AF6-A3B9-AA32E81624EC”,“deviceName”:“iPhone 5s”}}
info: Client User-Agent string: Apache-HttpClient/4.3.4 (java 1.5)
info: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : appium-version
info: [debug] Using local app from desired caps: /Users/Anand/Library/Developer/Xcode/DerivedData/Passport-dtutyhtjuncbbnhacstomnqkjttc/Build/Products/Debug-iphonesimulator/Passport.app
info: [debug] Creating new appium session 2eb74755-4582-46cf-97b9-78b548cfa1b9
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Setting Xcode folder
info: [debug] Setting Xcode version
info: [debug] Setting iOS SDK Version
info: [debug] Getting sdk version from xcrun with a timeout
info: [debug] iOS SDK Version set to 8.1
info: [debug] Not checking whether simulator is available since we’re on a real device
info: [debug] Detecting automation tracetemplate
info: [debug] Not auto-detecting udid, running on sim
info: [debug] Could not parse plist file (as binary) at /Users/Anand/Library/Developer/Xcode/DerivedData/Passport-dtutyhtjuncbbnhacstomnqkjttc/Build/Products/Debug-iphonesimulator/Passport.app/en.lproj/Localizable.strings
info: Will try to parse the plist file as XML
info: [debug] Could not parse plist file (as XML) at /Users/Anand/Library/Developer/Xcode/DerivedData/Passport-dtutyhtjuncbbnhacstomnqkjttc/Build/Products/Debug-iphonesimulator/Passport.app/en.lproj/Localizable.strings
warn: Could not parse app Localizable.strings assuming it doesn’t exist
info: [debug] Getting bundle ID from app
info: [debug] Parsed app Info.plist (as binary)
info: [debug] Creating instruments
info: On some xcode 6 platforms, instruments-without-delay does not work. If you experience this, you will need to re-run appium with the --native-instruments-lib flag
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/Anand/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {“nodePath”:"/usr/local/bin/node",“commandProxyClientPath”:"/Users/Anand/appium/node_modules/appium-uiauto/bin/command-proxy-client.js",“instrumentsSock”:"/tmp/instruments_sock",“interKeyDelay”:null,“justLoopInfinitely”:false,“autoAcceptAlerts”:false,“sendKeyStrategy”:“grouped”}
…o: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
info: [debug] Dynamic bootstrap path: /Users/Anand/Library/Application Support/appium/bootstrap/bootstrap-723f69bfa90dadc3.js
info: [debug] Reusing dynamic bootstrap: /Users/Anand/Library/Application Support/appium/bootstrap/bootstrap-723f69bfa90dadc3.js
info: [debug] Getting device string from opts: {“forceIphone”:false,“forceIpad”:false,“xcodeVersion”:“6.1.1”,“iOSSDKVersion”:“8.1”,“deviceName”:“iPhone 5s”,“platformVersion”:“7.1”}
info: [debug] fixDevice is on
info: [debug] Final device string is: ‘iPhone 5s (7.1 Simulator)’
info: [debug] Not setting device type since we’re on a real device
info: [debug] Checking whether we need to set app preferences
info: [debug] Not setting iOS and app preferences since we’re on a real device
info: [debug] Running ios sim reset flow
info: [debug] Killing the simulator process
info: [debug] Killall iOS Simulator
info: [debug] Killing any other simulator daemons
info: [debug] On a real device; cannot clean device state
info: [debug] Not setting locale because we’re using a real device
info: [debug] No iOS / app preferences to set
info: [debug] Starting iOS device log capture via deviceconsole
error: Log capture did not start in a reasonable amount of time
info: [debug] Cleaning up appium session
error: Failed to start an Appium session, err was: Error: Log capture did not start in a reasonable amount of time
info: [debug] Error: Log capture did not start in a reasonable amount of time
at null._onTimeout (/Users/Anand/appium/lib/devices/ios/ios-log.js:137:10)
at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)
info: [debug] Responding to client with error: {“status”:33,“value”:{“message”:“A new session could not be created. (Original error: Log capture did not start in a reasonable amount of time)”,“origValue”:“Log capture did not start in a reasonable amount of time”},“sessionId”:null}
info: <-- POST /wd/hub/session 500 11780.237 ms - 234
info: [debug] Not pre-launching simulator
info: [debug] Creating iDevice object with udid 13FF8920-587E-4AF6-A3B9-AA32E81624EC
info: [debug] Couldn’t find ideviceinstaller, trying built-in at /Users/Anand/appium/build/libimobiledevice-macosx/ideviceinstaller
info: [debug] Checking app install status using: /Users/Anand/appium/build/fruitstrap/fruitstrap isInstalled --id 13FF8920-587E-4AF6-A3B9-AA32E81624EC --bundle com.passportparking.mobile

  1. Above issue is observed with simulator 7.1,8.1 etc
    By any chance can this be happening bcoz of “No signing Identity found” in xcode

Rebooting the device solved this issue for me too. Although fruitstrap crashes on this command:

/Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap install --id b4063a048e26a82dfa32339cf576ac4b1096c17d --bundle “/Users/jasminejames/Digital2.0-121714/DigitalUI/build/Release-iphoneos/Digital2.0.app”

The app still installed onto my device though

I’m also facing this problem on my real device.
When I tried to run instruments recording on my device I succeeded…
Logs are (replaced UDID and app name to ****** manually):

Launching Appium with command: ‘/Applications/Appium.app/Contents/Resources/node/bin/node’ lib/server/main.js --command-timeout “7200” --platform-version “8.1” --platform-name “iOS” --app “/Users/shirand/Documents/ios-projects/.app" --udid "******” --device-name “iPhone 6 Plus”

declare -x ANDROID_HOME="/Users/shirand/Tools/android-sdk-macosx/"
declare -x ANDROID_SDK="/Users/shirand/Tools/android-sdk-macosx/"
declare -x Apple_PubSub_Socket_Render="/tmp/launch-keCo1L/Render"
declare -x HOME="/Users/shirand"
declare -x JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.8.0_11.jdk/Contents/Home"
declare -x LOGNAME=“shirand”
declare -x OLDPWD
declare -x PATH="/Users/shirand/Projects/Hub/support/developer-tools/maven/current/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Library/Java/JavaVirtualMachines/jdk1.8.0_11.jdk/Contents/Home/bin:/usr/local/share/npm/bin/:/Users/shirand/Tools/android-sdk-macosx//build-tools:/Users/shirand/Tools/android-sdk-macosx//platform-tools:/Users/shirand/Tools/android-sdk-macosx//tools"
declare -x PWD="/Applications/Appium.app/Contents/Resources/node_modules/appium"
declare -x SHELL="/bin/bash"
declare -x SHLVL=“1”
declare -x SSH_AUTH_SOCK="/tmp/launch-qzh24C/Listeners"

declare -x TMPDIR="/var/folders/br/q_y1t2g52p9_bpt395ggsf_r0000gn/T/"
declare -x USER=“shirand”
declare -x __CF_USER_TEXT_ENCODING=“0x1F5:0:0”
declare -x __CHECKFIX1436934=“1”

info: Welcome to Appium v1.3.4 (REV c8c79a85fbd6870cd6fc3d66d038a115ebe22efe)

info: Appium REST http interface listener started on 0.0.0.0:4723

info: [debug] Non-default server args: {“app”:"/Users/shirand/Documents/ios-projects/.app",“udid”:"*****",“deviceName”:“iPhone 6 Plus”,“platformName”:“iOS”,“platformVersion”:“8.1”,“defaultCommandTimeout”:7200}
info: Console LogLevel: debug

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.4”,“revision”:“c8c79a85fbd6870cd6fc3d66d038a115ebe22efe”}}}

info: <-- GET /wd/hub/status 200 5.542 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.4”,“revision”:“c8c79a85fbd6870cd6fc3d66d038a115ebe22efe”}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.4”,“revision”:“c8c79a85fbd6870cd6fc3d66d038a115ebe22efe”}}}

info: <-- GET /wd/hub/status 200 1.604 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.4”,“revision”:“c8c79a85fbd6870cd6fc3d66d038a115ebe22efe”}}}
info: --> GET /wd/hub/sessions {}
info: [debug] Responding to client with success: {“status”:0,“value”:[]}
info: <-- GET /wd/hub/sessions 200 0.854 ms - 23 {“status”:0,“value”:[]}
info: --> POST /wd/hub/session {“desiredCapabilities”:{“platformName”:“iOS”,“platformVersion”:“8.1”,“newCommandTimeout”:“999999”,“automationName”:“Appium”,“deviceName”:“iPhone 6 Plus”}}
info: Client User-Agent string: Appium (unknown version) CFNetwork/673.5 Darwin/13.4.0 (x86_64) (MacBookPro10%2C1)
info: [debug] Using local app from command line: /Users/shirand/Documents/ios-projects/*********.app
info: [debug] Creating new appium session 0b4f3a79-0a96-4dbb-bc9a-3f4c603eebba

info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Setting Xcode folder
info: [debug] Setting Xcode version

info: [debug] Setting iOS SDK Version

info: [debug] Getting sdk version from xcrun with a timeout

info: [debug] iOS SDK Version set to 8.1

info: [debug] Not checking whether simulator is available since we’re on a real device
info: [debug] Detecting automation tracetemplate

info: [debug] Not auto-detecting udid, running on sim
info: [debug] Parsed app Info.plist (as binary)
info: [debug] Parsed app Localizable.strings
info: [debug] Getting bundle ID from app
info: [debug] Parsed app Info.plist (as binary)
info: [debug] Creating instruments
info: On some xcode 6 platforms, instruments-without-delay does not work. If you experience this, you will need to re-run appium with the --native-instruments-lib flag
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/shirand/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {“nodePath”:"/Applications/Appium.app/Contents/Resources/node/bin/node",“commandProxyClientPath”:"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js",“instrumentsSock”:"/tmp/instruments_sock",“interKeyDelay”:null,“justLoopInfinitely”:false,“autoAcceptAlerts”:false,“sendKeyStrategy”:“grouped”}
info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!

info: [debug] Dynamic bootstrap path: /Users/shirand/Library/Application Support/appium/bootstrap/bootstrap-0943baae6b1d6f5b.js
info: [debug] Reusing dynamic bootstrap: /Users/shirand/Library/Application Support/appium/bootstrap/bootstrap-0943baae6b1d6f5b.js
info: [debug] Getting device string from opts: {“forceIphone”:false,“forceIpad”:false,“xcodeVersion”:“6.1.1”,“iOSSDKVersion”:“8.1”,“deviceName”:“iPhone 6 Plus”,“platformVersion”:“8.1”}
info: [debug] fixDevice is on
info: [debug] Final device string is: ‘iPhone 6 Plus (8.1 Simulator)’
info: [debug] Not setting device type since we’re on a real device
info: [debug] Checking whether we need to set app preferences
info: [debug] Not setting iOS and app preferences since we’re on a real device
info: [debug] Running ios sim reset flow
info: [debug] Killing the simulator process
info: [debug] Killall iOS Simulator
info: [debug] Killing any other simulator daemons

info: [debug] On a real device; cannot clean device state
info: [debug] Not setting locale because we’re using a real device
info: [debug] No iOS / app preferences to set
info: [debug] Starting iOS device log capture via deviceconsole

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.4”,“revision”:“c8c79a85fbd6870cd6fc3d66d038a115ebe22efe”},“isShuttingDown”:false},“sessionId”:“0b4f3a79-0a96-4dbb-bc9a-3f4c603eebba”}
info: <-- GET /wd/hub/status 200 1.163 ms - 178 {“status”:0,“value”:{“build”:{“version”:“1.3.4”,“revision”:“c8c79a85fbd6870cd6fc3d66d038a115ebe22efe”},“isShuttingDown”:false},“sessionId”:“0b4f3a79-0a96-4dbb-bc9a-3f4c603eebba”}

info: [debug] Cleaning up appium session

info: [debug] Error: Log capture did not start in a reasonable amount of time
at null._onTimeout (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/ios/ios-log.js:137:10)
at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)
info: [debug] Responding to client with error: {“status”:33,“value”:{“message”:“A new session could not be created. (Original error: Log capture did not start in a reasonable amount of time)”,“origValue”:“Log capture did not start in a reasonable amount of time”},“sessionId”:null}

error: Log capture did not start in a reasonable amount of time

info: <-- POST /wd/hub/session 500 10209.533 ms - 234

error: Failed to start an Appium session, err was: Error: Log capture did not start in a reasonable amount of time

info: [debug] Not pre-launching simulator
info: [debug] Creating iDevice object with udid ***************
info: [debug] Couldn’t find ideviceinstaller, trying built-in at /Applications/Appium.app/Contents/Resources/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller
info: [debug] Checking app install status using: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id *********** --bundle*************