Hello,
I’m having problems with starting a appium(Version 1.4.13 (Draco)) session for anative IOS app. The problem is specific to this particular app, other Apps are working fine.
Getting the following log output:
info: [debug] [INST] 2016-01-05 12:39:59 +0000 Debug: Running system command #5: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{“status”:0,“value”:{“UIAApplication”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,"enabled…
error: Failed to start an Appium session, err was: Error: App did not have elements
info: [debug] Socket data received (208 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {“status”:0,“value”:{“UIAApplication”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:false,“valid”:false,“visible”:false,“hint”:null,“path”:"/0",“x”:0,“y”:0,“width”:0,“height”:0},">":[]}}}
info: [debug] Condition unmet after 12586ms. Timing out.
info: [debug] Cleaning up appium session
info: [debug] Error: App did not have elements
at /Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/ios/ios.js:483:30
at Object.cb [as callback] (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/ios/ios-controller.js:261:7)
at next (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:798:43)
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:32:16
at [object Object].exports.respond (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/common.js:28:9)
at [object Object]. (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/ios/ios.js:1498:18)
at getResultAndSendNext (/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-uiauto/lib/command-proxy.js:146:20)
at Socket. (/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-uiauto/lib/command-proxy.js:88:7)
at Socket.emit (events.js:129:20)
at _stream_readable.js:908:16
at process._tickDomainCallback (node.js:381:11)
info: [debug] Responding to client with error: {“status”:33,“value”:{“message”:“A new session could not be created. (Original error: App did not have elements)”,“origValue”:“App did not have elements”},“sessionId”:null}
Any help would be very much appreciated