Attempting to test real iOS device on OSX 10.10.1
iOS Simulators run tests fine.
Both iPod Touch and iPhone 6 are having this issue.
UI automation is enabled on both devices.
Anyone have any ideas?
info: Welcome to Appium v1.3.4 (REV c8c79a85fbd6870cd6fc3d66d038a115ebe22efe)
info: Appium REST http interface listener started on 0.0.0.0:4724
info: [debug] Non-default server args: {“port”:4724}
info: Console LogLevel: debug
info: --> POST /wd/hub/session {“desiredCapabilities”:{“platformName”:“iOS”,“platformVersion”:“8.1”,“deviceName”:“iPhone 6”,“udid”:"*removed",“app”:"/MobileAutomation/App/*removed.ipa",“bundleID”:""}}
info: Client User-Agent string: undefined
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. : bundleID
info: [debug] Using local .ipa from desired caps: /MobileAutomation/App/*removed.ipa
info: [debug] Copying local zip to tmp dir
info: [debug] /MobileAutomation/App/*removed.ipa copied to /var/folders/k_/_rt6vdwx6199l7r1ylyc1fnw99b38v/T/1141117-2204-efft8p/appium-app.zip
info: [debug] Unzipping /var/folders/k_/_rt6vdwx6199l7r1ylyc1fnw99b38v/T/1141117-2204-efft8p/appium-app.zip
info: [debug] Testing zip archive: /var/folders/k_/_rt6vdwx6199l7r1ylyc1fnw99b38v/T/1141117-2204-efft8p/appium-app.zip
info: [debug] Zip archive tested clean
info: [debug] Unzip successful
info: [debug] Using locally extracted app: /var/folders/k_/_rt6vdwx6199l7r1ylyc1fnw99b38v/T/1141117-2204-efft8p/Payload/*removed.app
info: [debug] Creating new appium session 25692896-cb87-4923-903e-5159554a518e
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/simon/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {“nodePath”:"/usr/local/Cellar/node/0.10.33_1/bin/node",“commandProxyClientPath”:"/usr/local/lib/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. D…ot manually modify!
info: [debug] Dynamic bootstrap path: /Users/simon/Library/Application Support/appium/bootstrap/bootstrap-53ce4583016f26ea.js
info: [debug] Reusing dynamic bootstrap: /Users/simon/Library/Application Support/appium/bootstrap/bootstrap-53ce4583016f26ea.js
info: [debug] Getting device string from opts: {“forceIphone”:false,“forceIpad”:false,“xcodeVersion”:“6.1.1”,“iOSSDKVersion”:“8.1”,“deviceName”:“iPhone 6”,“platformVersion”:“8.1”}
info: [debug] fixDevice is on
info: [debug] Final device string is: ‘iPhone 6 (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
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 (/usr/local/lib/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}
info: <-- POST /wd/hub/session 500 10243.839 ms - 234
info: [debug] Not pre-launching simulator
info: [debug] Creating iDevice object with udid *removed
info: [debug] Checking app install status using: /usr/local/lib/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id *removed --bundle com.*removed.time