Problem "Condition unmet after 12136ms. Timing out" error:Could not pre-launch appium: Error: App did not have elements

When i was pre-launch my appium , The chances of this error are very high.

In contrast,Logs with correct:
2015-07-28 03:05:08:002 - info: [debug] Starting Appium in pre-launch mode
2015-07-28 03:05:08:010 - info: Pre-launching app
2015-07-28 03:05:08:012 - info: *************************************
2015-07-28 03:05:08:012 - info: *************************************
2015-07-28 03:05:08:012 - info: *************************************
2015-07-28 03:05:08:012 - info: *************************************
2015-07-28 03:05:08:012 - info: *************************************
2015-07-28 03:05:08:012 - info: *************************************
2015-07-28 03:05:08:013 - info: *************************************
2015-07-28 03:05:08:013 - info: *************************************
2015-07-28 03:05:08:013 - info: **** NEW SESSION ***
2015-07-28 03:05:08:013 - info: **** NEW SESSION ***
2015-07-28 03:05:08:013 - info: **** NEW SESSION ***
2015-07-28 03:05:08:014 - info: **** NEW SESSION ***
2015-07-28 03:05:08:014 - info: **** NEW SESSION ***
2015-07-28 03:05:08:014 - info: **** NEW SESSION ***
2015-07-28 03:05:08:014 - info: **** NEW SESSION ***
2015-07-28 03:05:08:014 - info: **** NEW SESSION ***
2015-07-28 03:05:08:016 - info: *************************************
2015-07-28 03:05:08:017 - info: *************************************
2015-07-28 03:05:08:017 - info: *************************************
2015-07-28 03:05:08:017 - info: *************************************
2015-07-28 03:05:08:018 - info: *************************************
2015-07-28 03:05:08:018 - info: *************************************
2015-07-28 03:05:08:018 - info: *************************************
2015-07-28 03:05:08:019 - info: *************************************
2015-07-28 03:05:08:023 - info: [debug] Using local app from command line: /Users/towne/Documents/feiniu_ios/SVNroot/fn-ios/feiniuAT/FeiniuATS2.1/realdevice/RTMarket_Dev.app
2015-07-28 03:05:08:035 - info: [debug] Creating new appium session 417577e0-8686-4350-b9f8-9336d7ba0005
2015-07-28 03:05:08:052 - info: [debug] Removing any remaining instruments sockets
2015-07-28 03:05:08:080 - info: [debug] Cleaned up instruments socket /tmp/instruments_sock
2015-07-28 03:05:08:088 - info: [debug] Auto-detecting iOS udid…
2015-07-28 03:05:08:089 - info: [debug] Not auto-detecting udid, running on sim
2015-07-28 03:05:08:104 - info: [debug] Could not parse plist file (as binary) at /Users/towne/Documents/feiniu_ios/SVNroot/fn-ios/feiniuAT/FeiniuATS2.1/realdevice/RTMarket_Dev.app/en.lproj/Localizable.strings
2015-07-28 03:05:08:107 - info: Will try to parse the plist file as XML
2015-07-28 03:05:08:112 - info: [debug] Could not parse plist file (as XML) at /Users/towne/Documents/feiniu_ios/SVNroot/fn-ios/feiniuAT/FeiniuATS2.1/realdevice/RTMarket_Dev.app/en.lproj/Localizable.strings
2015-07-28 03:05:08:114 - warn: Could not parse app Localizable.strings assuming it doesn’t exist
2015-07-28 03:05:08:115 - info: [debug] Getting bundle ID from app
2015-07-28 03:05:08:145 - info: [debug] Parsed app Info.plist (as binary)
2015-07-28 03:05:08:152 - info: [debug] Creating instruments
2015-07-28 03:05:08:154 - info: [debug] Preparing uiauto bootstrap
2015-07-28 03:05:08:156 - info: [debug] Dynamic bootstrap dir: /Users/towne/Library/Application Support/appium/bootstrap
2015-07-28 03:05:08:158 - 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,“autoDismissAlerts”:false,“sendKeyStrategy”:“grouped”}
2015-07-28 03:05:08:199 - info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!

2015-07-28 03:05:08:200 - info: [debug] Dynamic bootstrap path: /Users/towne/Library/Application Support/appium/bootstrap/bootstrap-6745615c424bb0c0.js
2015-07-28 03:05:08:222 - info: [debug] Reusing dynamic bootstrap: /Users/towne/Library/Application Support/appium/bootstrap/bootstrap-6745615c424bb0c0.js
2015-07-28 03:05:08:225 - info: [debug] Attempting iOS device log capture via libimobiledevice idevicesyslog
2015-07-28 03:05:08:415 - info: [debug] Creating iDevice object with udid fa38a52aaecc78f24884f57ebc98baa3271d02fb
2015-07-28 03:05:10:272 - info: [debug] App is installed.
2015-07-28 03:05:10:272 - info: [debug] fullReset not requested. No need to install.
2015-07-28 03:05:10:273 - info: [debug] Starting command proxy.
2015-07-28 03:05:10:279 - info: [debug] Instruments socket server started at /tmp/instruments_sock
2015-07-28 03:05:10:280 - info: [debug] Starting instruments
2015-07-28 03:05:10:379 - info: [debug] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments
2015-07-28 03:05:10:379 - info: Launching instruments
2015-07-28 03:05:10:393 - info: [debug] Attempting to run app on real device with UDID fa38a52aaecc78f24884f57ebc98baa3271d02fb
2015-07-28 03:05:10:395 - info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w fa38a52aaecc78f24884f57ebc98baa3271d02fb com.feiniu.RTMarket -e UIASCRIPT “/Users/towne/Library/Application Support/appium/bootstrap/bootstrap-6745615c424bb0c0.js” -e UIARESULTSPATH /tmp/appium-instruments
2015-07-28 03:05:10:396 - info: [debug] And extra without-delay env: {}
2015-07-28 03:05:10:396 - info: [debug] And launch timeouts (in ms): {“global”:90000}
2015-07-28 03:05:11:753 - info: [debug] [INST STDERR] 2015-07-28 11:05:11.752 instruments[25013:1569446] WebKit Threading Violation - initial use of WebKit from a secondary thread.
2015-07-28 03:05:15:196 - info: Instruments is ready to receive commands
2015-07-28 03:05:15:197 - info: [debug] Instruments launched. Starting poll loop for new commands.
2015-07-28 03:05:15:197 - info: [debug] Setting bootstrap config keys/values
2015-07-28 03:05:15:197 - info: [debug] Pushing command to appium work queue: “target = $.target();\nau = $;\n$.isVerbose = true;\n”
2015-07-28 03:05:15:203 - info: [debug] Socket data received (2 bytes)
2015-07-28 03:05:15:205 - info: [debug] Socket data being routed.
2015-07-28 03:05:15:206 - info: [debug] Sending command to instruments: target = $.target();
au = $;
$.isVerbose = true;

2015-07-28 03:05:16:295 - info: [debug] Socket data received (27 bytes)
2015-07-28 03:05:16:296 - info: [debug] Socket data being routed.
2015-07-28 03:05:16:296 - info: [debug] Got result from instruments: {“status”:0,“value”:true}
2015-07-28 03:05:16:296 - info: [debug] Setting initial orientation to PORTRAIT
2015-07-28 03:05:16:297 - info: [debug] Pushing command to appium work queue: “au.setScreenOrientation(‘PORTRAIT’)”
2015-07-28 03:05:16:297 - info: [debug] Sending command to instruments: au.setScreenOrientation(‘PORTRAIT’)
2015-07-28 03:05:16:312 - info: [debug] [INST] 2015-07-28 03:05:16 +0000 Debug: evaluation finished
2015-07-28 03:05:16:312 - info: [debug] [INST] 2015-07-28 03:05:16 +0000 Debug: responding with:
2015-07-28 03:05:16:313 - info: [debug] [INST] 2015-07-28 03:05:16 +0000 Debug: Running system command #1: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{“status”:0,“value”:true}…
2015-07-28 03:05:17:134 - info: [debug] [INST] 2015-07-28 03:05:17 +0000 Debug: Got new command 1 from instruments: au.setScreenOrientation(‘PORTRAIT’)
2015-07-28 03:05:17:136 - info: [debug] [INST] 2015-07-28 03:05:17 +0000 Debug: evaluating au.setScreenOrientation(‘PORTRAIT’)
2015-07-28 03:05:17:136 - info: [debug] [INST] 2015-07-28 03:05:17 +0000 Debug: target.setDeviceOrientation(“1”)
2015-07-28 03:05:18:232 - info: [debug] [INST] 2015-07-28 03:05:18 +0000 Debug: evaluation finished
2015-07-28 03:05:18:233 - info: [debug] [INST] 2015-07-28 03:05:18 +0000 Debug: responding with:
2015-07-28 03:05:18:234 - info: [debug] [INST] 2015-07-28 03:05:18 +0000 Debug: Running system command #2: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{“status”:0,“value”:“PORTRAIT”}…
2015-07-28 03:05:18:383 - info: [debug] Socket data received (33 bytes)
2015-07-28 03:05:18:384 - info: [debug] Socket data being routed.
2015-07-28 03:05:18:385 - info: [debug] Got result from instruments: {“status”:0,“value”:“PORTRAIT”}
2015-07-28 03:05:18:385 - info: [debug] Waiting for app source to contain elements
2015-07-28 03:05:18:386 - info: [debug] Pushing command to appium work queue: “au.mainApp().getTreeForXML()”
2015-07-28 03:05:18:386 - info: [debug] Sending command to instruments: au.mainApp().getTreeForXML()
2015-07-28 03:05:19:195 - info: [debug] [INST] 2015-07-28 03:05:19 +0000 Debug: Got new command 2 from instruments: au.mainApp().getTreeForXML()
2015-07-28 03:05:19:196 - info: [debug] [INST] 2015-07-28 03:05:19 +0000 Debug: evaluating au.mainApp().getTreeForXML()
2015-07-28 03:05:21:369 - info: [debug] [INST] 2015-07-28 03:05:21 +0000 Debug: evaluation finished
2015-07-28 03:05:21:372 - info: [debug] [INST] 2015-07-28 03:05:21 +0000 Debug: responding with:e,“visible”:true,“hint”:null,“path”:"/0/0",“x”:0,“y”:0,“width”:320,“height”:568},">":[{“UIAImage”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/0",“x”:12,“y”:34,“width”:67,“height”:18},">":[]}},{“UIAButton”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/1",“x”:90,“y”:27,“width”:159,“height”:32},">":[]}},{“UIAStaticText”:{"@":{“name”:“牛奶”,“label”:“牛奶”,“value”:“牛奶”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/2",“x”:122,“y”:34,“width”:100,“height”:17},">":[]}},{“UIAStaticText”:{"@":{“name”:“湖北”,“label”:“湖北”,“value”:“湖北”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/3",“x”:259,“y”:34,“width”:30,“height”:18},">":[]}},{“UIAImage”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/4",“x”:294,“y”:40,“width”:14,“height”:6},">":[]}},{“UIAImage”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/5",“x”:99,“y”:35,“width”:15,“height”:15},">":[]}},{“UIAButton”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/6",“x”:227,“y”:31,“width”:20,“height”:22},">":[]}},{“UIATableView”:{"@":{“name”:null,“label”:null,“value”:“第 1 航至第 5 航(共 12 航)”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7",“x”:0,“y”:64,“width”:320,“height”:455},">":[{“UIATableGroup”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/0",“x”:0,“y”:64,“width”:320,“height”:0},">":[]}},{“UIATableCell”:{"@":{“name”:null,“label”:null,“value”:"",“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/1",“x”:0,“y”:64,“width”:320,“height”:100.83999633789062},">":[{“UIAPageIndicator”:{"@":{“name”:null,“label”:null,“value”:“第 1 页(共 8 页)”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/1/0",“x”:0,“y”:144.5,“width”:320,“height”:25},">":[]}}]}},{“UIATableCell”:{"@":{“name”:“飞牛商城”,“label”:null,“value”:"",“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/2",“x”:0,“y”:164.83999633789062,“width”:320,“height”:65},">":[{“UIAStaticText”:{"@":{“name”:“飞牛商城”,“label”:“飞牛商城”,“value”:“飞牛商城”,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/2/0",“x”:6.5,“y”:217.83999633789062,“width”:76.5,“height”:12},">":[]}},{“UIAStaticText”:{"@":{“name”:“新品速递”,“label”:“新品速递”,“value”:“新品速递”,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/2/1",“x”:83,“y”:217.83999633789062,“width”:77,“height”:12},">":[]}},{“UIAStaticText”:{"@":{“name”:“热销榜”,“label”:“热销榜”,“value”:“热销榜”,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/2/2",“x”:160,“y”:217.83999633789062,“width”:77,“height”:12},">":[]}},{“UIAStaticText”:{"@":{“name”:“摇一摇”,“label”:“摇一摇”,“value”:“摇一摇”,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/2/3",“x”:237,“y”:217.83999633789062,“width”:76.5,“height”:12},">":[]}},{“UIAButton”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/2/4",“x”:6.5,“y”:164.83999633789062,“width”:76.5,“height”:64.5},">":[]}},{“UIAButton”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/2/5",“x”:83,“y”:164.83999633789062,“width”:77,“height”:64.5},">":[]}},{“UIAButton”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/2/6",“x”:160,“y”:164.83999633789062,“width”:77,“height”:64.5},">":[]}},{“UIAButton”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/2/7",“x”:237,“y”:164.83999633789062,“width”:76.5,“height”:64.5},">":[]}}]}},{“UIATableCell”:{"@":{“name”:“卡券充值”,“label”:null,“value”:"",“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/3",“x”:0,“y”:229.83999633789062,“width”:320,“height”:74.38665771484375},">":[{“UIAStaticText”:{"@":{“name”:“卡券充值”,“label”:“卡券充值”,“value”:“卡券充值”,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/3/0",“x”:6.5,“y”:282.8399963378906,“width”:76.5,“height”:12},">":[]}},{“UIAStaticText”:{"@":{“name”:“查订单”,“label”:“查订单”,“value”:“查订单”,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/3/1",“x”:83,“y”:282.8399963378906,“width”:77,“height”:12},">":[]}},{“UIAStaticText”:{"@":{“name”:“我的收藏”,“label”:“我的收藏”,“value”:“我的收藏”,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/3/2",“x”:160,“y”:282.8399963378906,“width”:77,“height”:12},">":[]}},{“UIAStaticText”:{"@":{“name”:“曾经购买”,“label”:“曾经购买”,“value”:“曾经购买”,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/3/3",“x”:237,“y”:282.8399963378906,“width”:76.5,“height”:12},">":[]}},{“UIAButton”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/3/4",“x”:6.5,“y”:229.83999633789062,“width”:76.5,“height”:74},">":[]}},{“UIAButton”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/3/5",“x”:83,“y”:229.83999633789062,“width”:77,“height”:74},">":[]}},{“UIAButton”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/3/6",“x”:160,“y”:229.83999633789062,“width”:77,“height”:74},">":[]}},{“UIAButton”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/3/7",“x”:237,“y”:229.83999633789062,“width”:76.5,“height”:74},">":[]}}]}},{“UIATableGroup”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/4",“x”:0,“y”:304.2266540527344,“width”:320,“height”:9},">":[]}},{“UIATableGroup”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/5",“x”:0,“y”:313.2266540527344,“width”:320,“height”:0},">":[]}},{“UIATableCell”:{"@":{“name”:“飞牛秒杀”,“label”:null,“value”:"",“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/6",“x”:0,“y”:313.2266540527344,“width”:320,“height”:173.53335571289062},">":[{“UIAStaticText”:{"@":{“name”:“飞牛秒杀”,“label”:“飞牛秒杀”,“value”:“飞牛秒杀”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/6/0",“x”:12,“y”:321.2266540527344,“width”:64,“height”:20},">":[]}},{“UIAStaticText”:{"@":{“name”:“还剩”,“label”:“还剩”,“value”:“还剩”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/6/1",“x”:110,“y”:323.7266540527344,“width”:24,“height”:15},">":[]}},{“UIAStaticText”:{"@":{“name”:“1 0”,“label”:“1 0”,“value”:“1 0”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/6/2",“x”:140,“y”:322.2266540527344,“width”:22,“height”:18},">":[]}},{“UIAStaticText”:{"@":{“name”:":",“label”:":",“value”:":",“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/6/3",“x”:164,“y”:320.2266540527344,“width”:5,“height”:21},">":[]}},{“UIAStaticText”:{"@":{“name”:“5 4”,“label”:“5 4”,“value”:“5 4”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/6/4",“x”:171,“y”:322.2266540527344,“width”:22,“height”:18},">":[]}},{“UIAStaticText”:{"@":{“name”:":",“label”:":",“value”:":",“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,"
2015-07-28 03:05:21:374 - info: [debug] [INST] path":"/0/0/7/6/5",“x”:195,“y”:320.2266540527344,“width”:5,“height”:21},">":[]}},{“UIAStaticText”:{"@":{“name”:“4 0”,“label”:“4 0”,“value”:“4 0”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/6/6",“x”:202,“y”:322.2266540527344,“width”:22,“height”:18},">":[]}},{“UIAStaticText”:{"@":{“name”:“¥99.00”,“label”:“¥99.00”,“value”:“¥99.00”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/6/7",“x”:20,“y”:461.2266540527344,“width”:37.5,“height”:15},">":[]}},{“UIAStaticText”:{"@":{“name”:“2.0折”,“label”:“2.0折”,“value”:“2.0折”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/6/8",“x”:59.5,“y”:463.2266540527344,“width”:27,“height”:11},">":[]}},{“UIAStaticText”:{"@":{“name”:“¥59.90”,“label”:“¥59.90”,“value”:“¥59.90”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/6/9",“x”:126,“y”:461.2266540527344,“width”:37.5,“height”:15},">":[]}},{“UIAStaticText”:{"@":{“name”:“2.3折”,“label”:“2.3折”,“value”:“2.3折”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/6/10",“x”:165.5,“y”:463.2266540527344,“width”:27,“height”:11},">":[]}},{“UIAStaticText”:{"@":{“name”:“¥7.00”,“label”:“¥7.00”,“value”:“¥7.00”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/6/11",“x”:236.5,“y”:461.2266540527344,“width”:31,“height”:15},">":[]}},{“UIAStaticText”:{"@":{“name”:“6.4折”,“label”:“6.4折”,“value”:“6.4折”,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/6/12",“x”:269.5,“y”:463.2266540527344,“width”:27,“height”:11},">":[]}}]}},{“UIATableGroup”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/7",“x”:0,“y”:486.760009765625,“width”:320,“height”:9},">":[]}},{“UIATableGroup”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/8",“x”:0,“y”:495.760009765625,“width”:320,“height”:0},">":[]}},{“UIATableCell”:{"@":{“name”:" “,“label”:null,“value”:”",“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/9",“x”:0,“y”:495.760009765625,“width”:320,“height”:141.79998779296875},">":[{“UIAStaticText”:{"@":{“name”:" “,“label”:” “,“value”:”",“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/7/9/0",“x”:0,“y”:495.760009765625,“width”:320,“height”:141.79998779296875},">":[]}}]}},{“UIATableGroup”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/10",“x”:0,“y”:510,“width”:320,“height”:9},">":[]}},{“UIATableGroup”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/11",“x”:0,“y”:646.5599975585938,“width”:320,“height”:0},">":[]}},{“UIATableCell”:{"@":{“name”:“主题馆”,“label”:null,“value”:"",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/12",“x”:0,“y”:646.5599975585938,“width”:320,“height”:36},">":[{“UIAStaticText”:{"@":{“name”:“主题馆”,“label”:“主题馆”,“value”:“主题馆”,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/12/0",“x”:0,“y”:0,“width”:48,“height”:19.5},">":[]}}]}},{“UIATableCell”:{"@":{“name”:" “,“label”:null,“value”:”",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/13",“x”:0,“y”:682.5599975585938,“width”:320,“height”:60.73333740234375},">":[{“UIAStaticText”:{"@":{“name”:" “,“label”:” “,“value”:”",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/13/0",“x”:0,“y”:682.5599975585938,“width”:320,“height”:60.73333740234375},">":[]}}]}},{“UIATableCell”:{"@":{“name”:" “,“label”:null,“value”:”",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/14",“x”:0,“y”:743.2933349609375,“width”:320,“height”:60.73333740234375},">":[{“UIAStaticText”:{"@":{“name”:" “,“label”:” “,“value”:”",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/14/0",“x”:0,“y”:743.2933349609375,“width”:320,“height”:60.73333740234375},">":[]}}]}},{“UIATableCell”:{"@":{“name”:" “,“label”:null,“value”:”",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/15",“x”:0,“y”:804.0266723632812,“width”:320,“height”:60.73333740234375},">":[{“UIAStaticText”:{"@":{“name”:" “,“label”:” “,“value”:”",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/15/0",“x”:0,“y”:804.0266723632812,“width”:320,“height”:60.73333740234375},">":[]}}]}},{“UIATableCell”:{"@":{“name”:" “,“label”:null,“value”:”",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/16",“x”:0,“y”:864.760009765625,“width”:320,“height”:60.73333740234375},">":[{“UIAStaticText”:{"@":{“name”:" “,“label”:” “,“value”:”",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/16/0",“x”:0,“y”:864.760009765625,“width”:320,“height”:60.73333740234375},">":[]}}]}},{“UIATableGroup”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/17",“x”:0,“y”:646.5599975585938,“width”:320,“height”:9},">":[]}},{“UIATableGroup”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/18",“x”:0,“y”:934.4933471679688,“width”:320,“height”:0},">":[]}},{“UIATableCell”:{"@":{“name”:" “,“label”:null,“value”:”",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/19",“x”:0,“y”:934.4933471679688,“width”:320,“height”:77.79998779296875},">":[{“UIAStaticText”:{"@":{“name”:" “,“label”:” “,“value”:”",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/19/0",“x”:0,“y”:934.4933471679688,“width”:320,“height”:77.79998779296875},">":[]}}]}},{“UIATableGroup”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/20",“x”:0,“y”:934.4933471679688,“width”:320,“height”:9},">":[]}},{“UIATableGroup”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/21",“x”:0,“y”:1021.2933349609375,“width”:320,“height”:0},">":[]}},{“UIATableCell”:{"@":{“name”:" “,“label”:null,“value”:”",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/22",“x”:0,“y”:1021.2933349609375,“width”:320,“height”:141.800048828125},">":[{“UIAStaticText”:{"@":{“name”:" “,“label”:” “,“value”:”",“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/22/0",“x”:0,“y”:1021.2933349609375,“width”:320,“height”:141.800048828125},">":[]}}]}},{“UIATableGroup”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/23",“x”:0,“y”:1021.2933349609375,“width”:320,“height”:0},">":[]}},{“UIAStaticText”:{"@":{“name”:“牛牛给您的专属推荐”,“label”:“牛牛给您的专属推荐”,“value”:“牛牛给您的专属推荐”,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/7/24",“x”:106,“y”:1178.0933837890625,“width”:108,“height”:14.5},">":[]}}]}},{“UIAButton”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/8",“x”:265,“y”:469,“width”:40,“height”:40},">":[{“UIAImage”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/8/0",“x”:269,“y”:473,“width”:32,“height”:32},">":[]}}]}},{“UIAToolbar”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/9",“x”:0,“y”:568,“width”:320,“height”:44},">":[{“UIAImage”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/9/0",“x”:0,“y”:567.5,“width”:320,“height”:0.5},">":[]}},{“UIAImage”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"
2015-07-28 03:05:21:376 - info: [debug] [INST] /0/0/9/1",“x”:0,“y”:568,“width”:320,“height”:44},">":[]}}]}},{“UIATabBar”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/10",“x”:0,“y”:519,“width”:320,“height”:49},">":[{“UIAImage”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/10/0",“x”:0,“y”:518.5,“width”:320,“height”:0.5},">":[]}},{“UIAImage”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/10/1",“x”:0,“y”:519,“width”:320,“height”:49},">":[]}},{“UIAButton”:{"@":{“name”:“主页”,“label”:“主页”,“value”:1,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/10/2",“x”:2,“y”:520,“width”:76,“height”:48},">":[]}},{“UIAButton”:{"@":{“name”:“商品分类”,“label”:“商品分类”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/10/3",“x”:82,“y”:520,“width”:76,“height”:48},">":[]}},{“UIAButton”:{"@":{“name”:“购物车”,“label”:“购物车”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/10/4",“x”:162,“y”:520,“width”:76,“height”:48},">":[]}},{“UIAButton”:{"@":{“name”:“我的飞牛网”,“label”:“我的飞牛网”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/0/10/5",“x”:242,“y”:520,“width”:76,“height”:48},">":[]}}]}},{“UIAToolbar”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/11",“x”:0,“y”:568,“width”:320,“height”:44},">":[{“UIAImage”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/11/0",“x”:0,“y”:567.5,“width”:320,“height”:0.5},">":[]}},{“UIAImage”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/0/11/1",“x”:0,“y”:568,“width”:320,“height”:44},">":[]}}]}}]}},{“UIAWindow”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:false,“hint”:null,“path”:"/0/1",“x”:0,“y”:0,“width”:320,“height”:568},">":[]}},{“UIAWindow”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/2",“x”:0,“y”:0,“width”:320,“height”:568},">":[{“UIAStatusBar”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0/2/0",“x”:0,“y”:0,“width”:320,“height”:20},">":[{“UIAElement”:{"@":{“name”:“信号强度:4 格(共 5 格)”,“label”:“信号强度:4 格(共 5 格)”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:“用三个手指向下轻扫来显现通知中心。, 用三个手指向上轻扫来显现控制中心, 连按两次来滚动到顶部”,“path”:"/0/2/0/0",“x”:6,“y”:0,“width”:35,“height”:20},">":[]}},{“UIAElement”:{"@":{“name”:“用三个手指向下轻扫来显现通知中心。, 用三个手指向上轻扫来显现控制中心, 连按两次来滚动到顶部”,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:“用三个手指向下轻扫来显现通知中心。, 用三个手指向上轻扫来显现控制中心, 连按两次来滚动到顶部”,“path”:"/0/2/0/1",“x”:44,“y”:0,“width”:48,“height”:20},">":[]}},{“UIAElement”:{"@":{“name”:“3G”,“label”:“3G”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:“用三个手指向下轻扫来显现通知中心。, 用三个手指向上轻扫来显现控制中心, 连按两次来滚动到顶部”,“path”:"/0/2/0/2",“x”:101,“y”:0,“width”:17,“height”:20},">":[]}},{“UIAElement”:{"@":{“name”:“上午11:05”,“label”:“上午11:05”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:“用三个手指向下轻扫来显现通知中心。, 用三个手指向上轻扫来显现控制中心, 连按两次来滚动到顶部”,“path”:"/0/2/0/3",“x”:134,“y”:0,“width”:52,“height”:20},">":[]}},{“UIAElement”:{"@":{“name”:“方向已锁定”,“label”:“方向已锁定”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:“用三个手指向下轻扫来显现通知中心。, 用三个手指向上轻扫来显现控制中心, 连按两次来滚动到顶部”,“path”:"/0/2/0/4",“x”:220,“y”:0,“width”:12,“height”:20},">":[]}},{“UIAElement”:{"@":{“name”:“StandardLocationTrackingOn”,“label”:“位置跟踪已打开”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:“用三个手指向下轻扫来显现通知中心。, 用三个手指向上轻扫来显现控制中心, 连按两次来滚动到顶部”,“path”:"/0/2/0/5",“x”:238,“y”:0,“width”:9,“height”:20},">":[]}},{“UIAElement”:{"@":{“name”:“电池电量:93%, 正在充电”,“label”:“电池电量:93%, 正在充电”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:“用三个手指向下轻扫来显现通知中心。, 用三个手指向上轻扫来显现控制中心, 连按两次来滚动到顶部”,“path”:"/0/2/0/6",“x”:253,“y”:0,“width”:62,“height”:20},">":[]}}]}}]}}]}}}
2015-07-28 03:05:21:376 - info: [debug] [INST] 2015-07-28 03:05:21 +0000 Debug: Running system command #3: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{“status”:0,“value”:{“UIAApplication”:{"@":{“name”:“飞牛网”,“label”:“飞牛网”,“value”:null,“dom”:null,“ena…
2015-07-28 03:05:21:529 - info: [debug] Socket data received (7892 bytes)
2015-07-28 03:05:21:530 - info: [debug] Socket data received (8087 bytes)
2015-07-28 03:05:21:530 - info: [debug] Socket data received (4572 bytes)
2015-07-28 03:05:21:531 - info: [debug] Socket data being routed.
2015-07-28 03:05:21:531 - info: [debug] Got result from instruments: {“status”:0,“value”:{“UIAApplication”:{”@":{“name”:“飞牛网”,“label”:“飞牛网”,“value”:null,“dom”:null,“enabled”:true,“valid”:true,“visible”:true,“hint”:null,“path”:"/0",“x”:0,“y”:20,“width”:320,“height”:548},">":[{“UIAWindow”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:true,“valid”:tru
2015-07-28 03:05:21:535 - info: [debug] Device launched! Ready for commands
2015-07-28 03:05:21:535 - info: [debug] Setting command timeout to the default of 7200 secs
2015-07-28 03:05:21:537 - info: Welcome to Appium v1.4.8 (REV c8179bd8352d3c62d98fa58b324491230df9342a)
2015-07-28 03:05:21:538 - info: Appium REST http interface listener started on 0.0.0.0:4723
2015-07-28 03:05:21:542 - info: [debug] Non-default server args: {“app”:"/Users/towne/Documents/feiniu_ios/SVNroot/fn-ios/feiniuAT/FeiniuATS2.1/realdevice/RTMarket_Dev.app",“udid”:“fa38a52aaecc78f24884f57ebc98baa3271d02fb”,“sessionOverride”:true,“launch”:true,“log”:"/tmp/appium.log",“platformName”:“iOS”,“platformVersion”:“8.4”,“defaultDevice”:true,“defaultCommandTimeout”:7200,“debugLogSpacing”:true}
2015-07-28 03:05:21:542 - info: Console LogLevel: debug
2015-07-28 03:05:21:543 - info: File LogLevel: debug
2015-07-28 03:05:22:626 - info: --> GET /wd/hub/status {}
2015-07-28 03:05:22:629 - info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.4.8”,“revision”:“c8179bd8352d3c62d98fa58b324491230df9342a”},“isShuttingDown”:false},“sessionId”:“417577e0-8686-4350-b9f8-9336d7ba0005”}
2015-07-28 03:05:22:638 - info: <-- GET /wd/hub/status 200 12.767 ms - 178 {“status”:0,“value”:{“build”:{“version”:“1.4.8”,“revision”:“c8179bd8352d3c62d98fa58b324491230df9342a”},“isShuttingDown”:false},“sessionId”:“417577e0-8686-4350-b9f8-9336d7ba0005”}
2015-07-28 03:05:28:309 - info: --> GET /wd/hub/status {}
2015-07-28 03:05:28:310 - info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.4.8”,“revision”:“c8179bd8352d3c62d98fa58b324491230df9342a”},“isShuttingDown”:false},“sessionId”:“417577e0-8686-4350-b9f8-9336d7ba0005”}
2015-07-28 03:05:28:314 - info: <-- GET /wd/hub/status 200 5.048 ms - 178 {“status”:0,“value”:{“build”:{“version”:“1.4.8”,“revision”:“c8179bd8352d3c62d98fa58b324491230df9342a”},“isShuttingDown”:false},“sessionId”:“417577e0-8686-4350-b9f8-9336d7ba0005”}

Logs with incorrect:
2015-07-28 03:15:34:951 - info: [debug] Starting Appium in pre-launch mode
2015-07-28 03:15:34:954 - info: Pre-launching app
2015-07-28 03:15:34:954 - info: *************************************
2015-07-28 03:15:34:955 - info: *************************************
2015-07-28 03:15:34:955 - info: *************************************
2015-07-28 03:15:34:955 - info: *************************************
2015-07-28 03:15:34:955 - info: *************************************
2015-07-28 03:15:34:955 - info: *************************************
2015-07-28 03:15:34:955 - info: *************************************
2015-07-28 03:15:34:955 - info: *************************************
2015-07-28 03:15:34:956 - info: **** NEW SESSION ***
2015-07-28 03:15:34:956 - info: **** NEW SESSION ***
2015-07-28 03:15:34:956 - info: **** NEW SESSION ***
2015-07-28 03:15:34:956 - info: **** NEW SESSION ***
2015-07-28 03:15:34:956 - info: **** NEW SESSION ***
2015-07-28 03:15:34:956 - info: **** NEW SESSION ***
2015-07-28 03:15:34:956 - info: **** NEW SESSION ***
2015-07-28 03:15:34:957 - info: **** NEW SESSION ***
2015-07-28 03:15:34:957 - info: *************************************
2015-07-28 03:15:34:957 - info: *************************************
2015-07-28 03:15:34:958 - info: *************************************
2015-07-28 03:15:34:958 - info: *************************************
2015-07-28 03:15:34:958 - info: *************************************
2015-07-28 03:15:34:959 - info: *************************************
2015-07-28 03:15:34:959 - info: *************************************
2015-07-28 03:15:34:959 - info: *************************************
2015-07-28 03:15:34:962 - info: [debug] Using local app from command line: /Users/Rex/Desktop/FeiniuATS2.1/realdevice/RTMarket_dev.app
2015-07-28 03:15:34:967 - info: [debug] Creating new appium session 13028b9d-06ca-49dd-9c5c-f4c1757e34d5
2015-07-28 03:15:34:968 - info: [debug] Removing any remaining instruments sockets
2015-07-28 03:15:34:970 - info: [debug] Cleaned up instruments socket /tmp/instruments_sock
2015-07-28 03:15:34:970 - info: [debug] Auto-detecting iOS udid…
2015-07-28 03:15:34:970 - info: [debug] Not auto-detecting udid, running on sim
2015-07-28 03:15:34:972 - info: [debug] Could not parse plist file (as binary) at /Users/Rex/Desktop/FeiniuATS2.1/realdevice/RTMarket_dev.app/en.lproj/Localizable.strings
2015-07-28 03:15:34:972 - info: Will try to parse the plist file as XML
2015-07-28 03:15:34:973 - info: [debug] Could not parse plist file (as XML) at /Users/Rex/Desktop/FeiniuATS2.1/realdevice/RTMarket_dev.app/en.lproj/Localizable.strings
2015-07-28 03:15:34:973 - warn: Could not parse app Localizable.strings assuming it doesn’t exist
2015-07-28 03:15:34:973 - info: [debug] Getting bundle ID from app
2015-07-28 03:15:34:980 - info: [debug] Parsed app Info.plist (as binary)
2015-07-28 03:15:34:980 - info: [debug] Creating instruments
2015-07-28 03:15:34:981 - info: [debug] Preparing uiauto bootstrap
2015-07-28 03:15:34:982 - info: [debug] Dynamic bootstrap dir: /Users/Rex/Library/Application Support/appium/bootstrap
2015-07-28 03:15:34:982 - 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,“autoDismissAlerts”:false,“sendKeyStrategy”:“grouped”}
2015-07-28 03:15:34:995 - info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!

2015-07-28 03:15:34:995 - info: [debug] Dynamic bootstrap path: /Users/Rex/Library/Application Support/appium/bootstrap/bootstrap-6745615c424bb0c0.js
2015-07-28 03:15:35:002 - info: [debug] Reusing dynamic bootstrap: /Users/Rex/Library/Application Support/appium/bootstrap/bootstrap-6745615c424bb0c0.js
2015-07-28 03:15:35:005 - info: [debug] Attempting iOS device log capture via libimobiledevice idevicesyslog
2015-07-28 03:15:35:088 - info: [debug] Creating iDevice object with udid 1f01f48de9bc723d6213fb8b7bb42ea49b225ce6
2015-07-28 03:15:36:691 - info: [debug] App is installed.
2015-07-28 03:15:36:692 - info: [debug] fullReset not requested. No need to install.
2015-07-28 03:15:36:692 - info: [debug] Starting command proxy.
2015-07-28 03:15:36:696 - info: [debug] Instruments socket server started at /tmp/instruments_sock
2015-07-28 03:15:36:697 - info: [debug] Starting instruments
2015-07-28 03:15:36:740 - info: [debug] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments
2015-07-28 03:15:36:741 - info: Launching instruments
2015-07-28 03:15:36:752 - info: [debug] Attempting to run app on real device with UDID 1f01f48de9bc723d6213fb8b7bb42ea49b225ce6
2015-07-28 03:15:36:753 - info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w 1f01f48de9bc723d6213fb8b7bb42ea49b225ce6 com.feiniu.RTMarket -e UIASCRIPT “/Users/Rex/Library/Application Support/appium/bootstrap/bootstrap-6745615c424bb0c0.js” -e UIARESULTSPATH /tmp/appium-instruments
2015-07-28 03:15:36:754 - info: [debug] And extra without-delay env: {}
2015-07-28 03:15:36:754 - info: [debug] And launch timeouts (in ms): {“global”:90000}
2015-07-28 03:15:38:035 - info: [debug] [INST STDERR] 2015-07-28 11:15:38.034 instruments[2450:121278] WebKit Threading Violation - initial use of WebKit from a secondary thread.
2015-07-28 03:15:40:020 - info: Instruments is ready to receive commands
2015-07-28 03:15:40:022 - info: [debug] Instruments launched. Starting poll loop for new commands.
2015-07-28 03:15:40:022 - info: [debug] Setting bootstrap config keys/values
2015-07-28 03:15:40:022 - info: [debug] Pushing command to appium work queue: “target = $.target();\nau = $;\n$.isVerbose = true;\n”
2015-07-28 03:15:40:027 - info: [debug] Socket data received (2 bytes)
2015-07-28 03:15:40:028 - info: [debug] Socket data being routed.
2015-07-28 03:15:40:029 - info: [debug] Sending command to instruments: target = $.target();
au = $;
$.isVerbose = true;

2015-07-28 03:15:40:971 - info: [debug] [INST] 2015-07-28 03:15:41 +0000 Debug: evaluation finished
2015-07-28 03:15:40:972 - info: [debug] [INST] 2015-07-28 03:15:41 +0000 Debug: responding with:
2015-07-28 03:15:41:081 - info: [debug] Socket data received (27 bytes)
2015-07-28 03:15:41:082 - info: [debug] Socket data being routed.
2015-07-28 03:15:41:082 - info: [debug] Got result from instruments: {“status”:0,“value”:true}
2015-07-28 03:15:41:083 - info: [debug] Setting initial orientation to PORTRAIT
2015-07-28 03:15:41:083 - info: [debug] Pushing command to appium work queue: “au.setScreenOrientation(‘PORTRAIT’)”
2015-07-28 03:15:41:083 - info: [debug] Sending command to instruments: au.setScreenOrientation(‘PORTRAIT’)
2015-07-28 03:15:41:091 - info: [debug] [INST] 2015-07-28 03:15:41 +0000 Debug: Running system command #1: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{“status”:0,“value”:true}…
2015-07-28 03:15:41:916 - info: [debug] [INST] 2015-07-28 03:15:42 +0000 Debug: Got new command 1 from instruments: au.setScreenOrientation(‘PORTRAIT’)
2015-07-28 03:15:41:918 - info: [debug] [INST] 2015-07-28 03:15:42 +0000 Debug: evaluating au.setScreenOrientation(‘PORTRAIT’)
2015-07-28 03:15:41:920 - info: [debug] [INST] 2015-07-28 03:15:42 +0000 Debug: target.setDeviceOrientation(“1”)
2015-07-28 03:15:43:014 - info: [debug] [INST] 2015-07-28 03:15:43 +0000 Debug: evaluation finished
2015-07-28 03:15:43:016 - info: [debug] [INST] 2015-07-28 03:15:43 +0000 Debug: responding with:
2015-07-28 03:15:43:018 - info: [debug] [INST] 2015-07-28 03:15:43 +0000 Debug: Running system command #2: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{“status”:0,“value”:“PORTRAIT”}…
2015-07-28 03:15:43:130 - info: [debug] Socket data received (33 bytes)
2015-07-28 03:15:43:130 - info: [debug] Socket data being routed.
2015-07-28 03:15:43:131 - info: [debug] Got result from instruments: {“status”:0,“value”:“PORTRAIT”}
2015-07-28 03:15:43:131 - info: [debug] Waiting for app source to contain elements
2015-07-28 03:15:43:131 - info: [debug] Pushing command to appium work queue: “au.mainApp().getTreeForXML()”
2015-07-28 03:15:43:132 - info: [debug] Sending command to instruments: au.mainApp().getTreeForXML()
2015-07-28 03:15:43:971 - info: [debug] [INST] 2015-07-28 03:15:44 +0000 Debug: Got new command 2 from instruments: au.mainApp().getTreeForXML()
2015-07-28 03:15:43:973 - info: [debug] [INST] 2015-07-28 03:15:44 +0000 Debug: evaluating au.mainApp().getTreeForXML()
2015-07-28 03:15:47:080 - info: [debug] [INST] 2015-07-28 03:15:47 +0000 Debug: evaluation finished
2015-07-28 03:15:47:082 - info: [debug] [INST] 2015-07-28 03:15:47 +0000 Debug: responding with:
2015-07-28 03:15:47:085 - info: [debug] [INST] 2015-07-28 03:15:47 +0000 Debug: Running system command #3: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{“status”:0,“value”:{“UIAApplication”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabl…
2015-07-28 03:15:47:305 - info: [debug] Socket data received (271 bytes)
2015-07-28 03:15:47:306 - info: [debug] Socket data being routed.
2015-07-28 03:15:47:306 - 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”:2.7644127655e-314,“y”:2.7629175884e-314,“width”:1.061256928e-314,“height”:3.3826818586e-314},">":[]}}}
2015-07-28 03:15:47:307 - info: [debug] Waited for 4176ms so far
2015-07-28 03:15:47:810 - info: [debug] Pushing command to appium work queue: “au.mainApp().getTreeForXML()”
2015-07-28 03:15:47:810 - info: [debug] Sending command to instruments: au.mainApp().getTreeForXML()
2015-07-28 03:15:48:045 - info: [debug] [INST] 2015-07-28 03:15:48 +0000 Debug: Got new command 3 from instruments: au.mainApp().getTreeForXML()
2015-07-28 03:15:48:047 - info: [debug] [INST] 2015-07-28 03:15:48 +0000 Debug: evaluating au.mainApp().getTreeForXML()
2015-07-28 03:15:51:046 - info: [debug] [INST] 2015-07-28 03:15:51 +0000 Debug: evaluation finished
2015-07-28 03:15:51:047 - info: [debug] [INST] 2015-07-28 03:15:51 +0000 Debug: responding with:
2015-07-28 03:15:51:050 - info: [debug] [INST] 2015-07-28 03:15:51 +0000 Debug: Running system command #4: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{“status”:0,“value”:{“UIAApplication”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabl…
2015-07-28 03:15:51:162 - info: [debug] Socket data received (270 bytes)
2015-07-28 03:15:51:163 - info: [debug] Socket data being routed.
2015-07-28 03:15:51:163 - 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”:2.7644127655e-314,“y”:2.762890822e-314,“width”:1.061256928e-314,“height”:3.3826818586e-314},">":[]}}}
2015-07-28 03:15:51:163 - info: [debug] Waited for 8032ms so far
2015-07-28 03:15:51:666 - info: [debug] Pushing command to appium work queue: “au.mainApp().getTreeForXML()”
2015-07-28 03:15:51:667 - info: [debug] Sending command to instruments: au.mainApp().getTreeForXML()
2015-07-28 03:15:52:146 - info: [debug] [INST] 2015-07-28 03:15:52 +0000 Debug: Got new command 4 from instruments: au.mainApp().getTreeForXML()
2015-07-28 03:15:52:149 - info: [debug] [INST] 2015-07-28 03:15:52 +0000 Debug: evaluating au.mainApp().getTreeForXML()
2015-07-28 03:15:55:156 - info: [debug] [INST] 2015-07-28 03:15:56 +0000 Debug: evaluation finished
2015-07-28 03:15:55:158 - info: [debug] [INST] 2015-07-28 03:15:56 +0000 Debug: responding with:
2015-07-28 03:15:55:160 - info: [debug] [INST] 2015-07-28 03:15:56 +0000 Debug: Running system command #5: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{“status”:0,“value”:{“UIAApplication”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,"enabl…
2015-07-28 03:15:55:272 - info: [debug] Socket data received (271 bytes)
2015-07-28 03:15:55:273 - info: [debug] Socket data being routed.

I find that sometimes “getTreeForXML()” did not return anythings.
It also looks to me that the machine running tests is less performant and generally low on memory, I suspect the server could be timing before getting result from bootstrap running on emulator in 12136 ms.

info: [debug] Condition unmet after 12136ms. Timing out.
Is there way to increase this timeout ?

I have the same issue. Does anyone one know how to resolve this issue. It happened when application boot up. After list the UITree for several times, report this error. I used 10.10, iOS simulator 9.1.