Hi
i am using xcode 6.1 and appiumn version 1.3.1
But i am unable to run the app on device.
And i am getting the following issue in it :
Log capture did not start in a reasonable amount of time)
Following are the logs of appium server :smile :
POST /wd/hub/session {“desiredCapabilities”:{“app”:"/Users/ashish/Desktop/UICatalog.ipa",“ipa”:“UICatalog.ipa”,“platformName”:“iOS”,“deviceName”:“Ashish’s iPad”,“device”:“iPad”,“BundleId”:“com.example.apple-samplecode.UICatalog”,“udid”:“77cdc8b753b987b3099f913abd632704edd”,“version”:“8.0”}}
info: Client User-Agent string: Apache-HttpClient/4.3.2 (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. : ipa, device, BundleId, version
info: [debug] Using local .ipa from desired caps: /Users/ashish/Desktop/UICatalog.ipa
info: [debug] Copying local zip to tmp dir
info: [debug] /Users/ashish/Desktop/UICatalog.ipa copied to /var/folders/sm/4d_lqtcd6_g24_s6bwdfppjr0000gn/T/114930-5341-117dt38/appium-app.zip
info: [debug] Unzipping /var/folders/sm/4d_lqtcd6_g24_s6bwdfppjr0000gn/T/114930-5341-117dt38/appium-app.zip
info: [debug] Testing zip archive: /var/folders/sm/4d_lqtcd6_g24_s6bwdfppjr0000gn/T/114930-5341-117dt38/appium-app.zip
info: [debug] Zip archive tested clean
info: [debug] Unzip successful
info: [debug] Got a relaxed match for app in zip, be careful for app match errors
info: [debug] Using locally extracted app: /var/folders/sm/4d_lqtcd6_g24_s6bwdfppjr0000gn/T/114930-5341-117dt38/Payload/UICatalog.app
info: [debug] Creating new appium session fcdbea49-7476-4f93-8217-25c5e0593b06
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] 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/ashish/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {“nodePath”:"/Users/ashish/Downloads/Appium.app/Contents/Resources/node/bin/node",“commandProxyClientPath”:"/Users/ashish/Downloads/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}
info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
…
info: [debug] Dynamic bootstrap path: /Users/ashish/Library/Application Support/appium/bootstrap/bootstrap-3691bf5fd5cca080.js
info: [debug] Reusing dynamic bootstrap: /Users/ashish/Library/Application Support/appium/bootstrap/bootstrap-3691bf5fd5cca080.js
info: [debug] Getting device string from opts: {“forceIphone”:false,“forceIpad”:false,“xcodeVersion”:“6.0.1”,“iOSSDKVersion”:“8.0”,“deviceName”:“Ashish’s iPad”,“platformVersion”:null}
info: [debug] fixDevice is on
info: [debug] Final device string is: ‘Ashish’s iPad (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
I am badly stuck in the issue and unable to resollve it.
Please help me out to resolve the issue.
Thanks