{"action":"closed","issue":{"url":"https://api.github.com/repos/appium/appium/issues/4257","labels_url":"https://api.github.com/repos/appium/appium/issues/4257/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/4257/comments","events_url":"https://api.github.com/repos/appium/appium/issues/4257/events","html_url":"https://github.com/appium/appium/issues/4257","id":51771436,"number":4257,"title":"(ios 7.1 real device)  tap not work","user":{"login":"liqing380","id":5125667,"avatar_url":"https://avatars.githubusercontent.com/u/5125667?v=3","gravatar_id":"","url":"https://api.github.com/users/liqing380","html_url":"https://github.com/liqing380","followers_url":"https://api.github.com/users/liqing380/followers","following_url":"https://api.github.com/users/liqing380/following{/other_user}","gists_url":"https://api.github.com/users/liqing380/gists{/gist_id}","starred_url":"https://api.github.com/users/liqing380/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liqing380/subscriptions","organizations_url":"https://api.github.com/users/liqing380/orgs","repos_url":"https://api.github.com/users/liqing380/repos","events_url":"https://api.github.com/users/liqing380/events{/privacy}","received_events_url":"https://api.github.com/users/liqing380/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appium/appium/labels/iOS","name":"iOS","color":"444444"},{"url":"https://api.github.com/repos/appium/appium/labels/OnGoing","name":"OnGoing","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-12T05:15:20Z","updated_at":"2015-06-10T06:23:27Z","closed_at":"2015-06-10T06:23:27Z","body":"```\r\nios 7.1 , real device\r\njava-client:2.1.0\r\nappium:1.3.4\r\nxcode:6.0.1\r\n```\r\n**java code:**\r\n```java\r\nIOSDriver appDriver;\r\nWebElement mail=appDriver.findElementsByAccessibilityId(\"邮件\").get(0);\r\n appDriver.tap(1,mail,500);\r\n```\r\nbut tap not working.\r\n**appium.log:**\r\n```java\r\ninfo: [debug] Pushing command to appium work queue: \"au.getElementsByAccessibilityId('邮件')\"\r\ninfo: [debug] Sending command to instruments: au.getElementsByAccessibilityId('邮件')\r\ninfo: [debug] [INST] 2014-12-12 05:02:59 +0000 Debug: Got new command 40 from instruments: au.getElementsByAccessibilityId('邮件')\r\ninfo: [debug] [INST] 2014-12-12 05:02:59 +0000 Debug: evaluating au.getElementsByAccessibilityId('邮件')\r\ninfo: [debug] [INST] 2014-12-12 05:02:59 +0000 Debug: evaluation finished\r\ninfo: [debug] [INST] 2014-12-12 05:02:59 +0000 Debug: Lookup returned [object UIATableCell] with the name \"邮件\" (id: 14).\r\ninfo: [debug] [INST] 2014-12-12 05:02:59 +0000 Debug: Lookup returned [object UIAStaticText] with the name \"邮件\" (id: 15).\r\ninfo: [debug] [INST] 2014-12-12 05:02:59 +0000 Debug: responding with:\r\ninfo: [debug] [INST] 2014-12-12 05:02:59 +0000 Debug: Running system command #41: /Users/coremail/Downloads/node-v0.10.33-darwin-x64/bin/node /Users/coremail/Downloads/node-v0.10.33-darwin-x64/lib/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{\"status\":0,\"value\":[{\"ELEMENT\":\"14\"},{\"ELEMENT\":\"15\"}]}...\r\ninfo: [debug] Socket data received (58 bytes)\r\ninfo: [debug] Socket data being routed.\r\ninfo: [debug] Got result from instruments: {\"status\":0,\"value\":[{\"ELEMENT\":\"14\"},{\"ELEMENT\":\"15\"}]}\r\ninfo: [debug] Responding to client with success: {\"status\":0,\"value\":[{\"ELEMENT\":\"14\"},{\"ELEMENT\":\"15\"}],\"sessionId\":\"c05ba81a-60c2-44fa-957a-6cfd23d41b0d\"}\r\ninfo: <-- POST /wd/hub/session/c05ba81a-60c2-44fa-957a-6cfd23d41b0d/elements 200 1192.543 ms - 107 {\"status\":0,\"value\":[{\"ELEMENT\":\"14\"},{\"ELEMENT\":\"15\"}],\"sessionId\":\"c05ba81a-60c2-44fa-957a-6cfd23d41b0d\"}\r\ninfo: --> POST /wd/hub/session/c05ba81a-60c2-44fa-957a-6cfd23d41b0d/touch/perform {\"actions\":[{\"action\":\"press\",\"options\":{\"element\":\"14\"}},{\"action\":\"wait\",\"options\":{\"ms\":500}},{\"action\":\"release\",\"options\":{}}]}\r\ninfo: [debug] Pushing command to appium work queue: \"au.getElement('14').rect()\"\r\ninfo: [debug] Sending command to instruments: au.getElement('14').rect()\r\ninfo: [debug] [INST] 2014-12-12 05:03:00 +0000 Debug: Got new command 41 from instruments: au.getElement('14').rect()\r\ninfo: [debug] [INST] 2014-12-12 05:03:00 +0000 Debug: evaluating au.getElement('14').rect()\r\ninfo: [debug] [INST] 2014-12-12 05:03:00 +0000 Debug: evaluation finished\r\ninfo: [debug] [INST] 2014-12-12 05:03:00 +0000 Debug: responding with:\r\ninfo: [debug] [INST] 2014-12-12 05:03:00 +0000 Debug: Running system command #42: /Users/coremail/Downloads/node-v0.10.33-darwin-x64/bin/node /Users/coremail/Downloads/node-v0.10.33-darwin-x64/lib/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{\"status\":0,\"value\":{\"origin\":{\"x\":0,\"y\":174},\"size\":{\"width\":768,\"height\":44}}}...\r\ninfo: [debug] Socket data received (82 bytes)\r\ninfo: [debug] Socket data being routed.\r\ninfo: [debug] Got result from instruments: {\"status\":0,\"value\":{\"origin\":{\"x\":0,\"y\":174},\"size\":{\"width\":768,\"height\":44}}}\r\ninfo: [debug] Pushing command to appium work queue: \"target.touch([{\\\"touch\\\":[{\\\"x\\\":384,\\\"y\\\":196}],\\\"time\\\":0.2},{\\\"touch\\\":[{\\\"x\\\":384,\\\"y\\\":196}],\\\"time\\\":0.7}])\"\r\ninfo: [debug] Sending command to instruments: target.touch([{\"touch\":[{\"x\":384,\"y\":196}],\"time\":0.2},{\"touch\":[{\"x\":384,\"y\":196}],\"time\":0.7}])\r\ninfo: [debug] [INST] 2014-12-12 05:03:01 +0000 Debug: Got new command 42 from instruments: target.touch([{\"touch\":[{\"x\":384,\"y\":196}],\"time\":0.2},{\"touch\":[{\"x\":384,\"y\":196}],\"time\":0.7}])\r\ninfo: [debug] [INST] 2014-12-12 05:03:01 +0000 Debug: evaluating target.touch([{\"touch\":[{\"x\":384,\"y\":196}],\"time\":0.2},{\"touch\":[{\"x\":384,\"y\":196}],\"time\":0.7}])\r\ninfo: [debug] [INST] 2014-12-12 05:03:01 +0000 Debug: target.touch(__NSCFArray)\r\ninfo: [debug] [INST] 2014-12-12 05:03:02 +0000 Debug: evaluation finished\r\ninfo: [debug] [INST] 2014-12-12 05:03:02 +0000 Debug: responding with:\r\ninfo: [debug] [INST] 2014-12-12 05:03:02 +0000 Debug: Running system command #43: /Users/coremail/Downloads/node-v0.10.33-darwin-x64/bin/node /Users/coremail/Downloads/node-v0.10.33-darwin-x64/lib/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{\"status\":0,\"value\":\"\"}...\r\ninfo: [debug] Socket data received (25 bytes)\r\ninfo: [debug] Socket data being routed.\r\ninfo: [debug] Got result from instruments: {\"status\":0,\"value\":\"\"}\r\ninfo: [debug] Responding to client with success: {\"status\":0,\"value\":\"\",\"sessionId\":\"c05ba81a-60c2-44fa-957a-6cfd23d41b0d\"}\r\ninfo: <-- POST /wd/hub/session/c05ba81a-60c2-44fa-957a-6cfd23d41b0d/touch/perform 200 2781.411 ms - 74 {\"status\":0,\"value\":\"\",\"sessionId\":\"c05ba81a-60c2-44fa-957a-6cfd23d41b0d\"}\r\n```\r\n**and then i try:**\r\n```java \r\n   appDriver.performTouchAction(new TouchAction(appDriver).tap(mail)).waitAction().perform();\r\n```\r\ntap not working.\r\n**appium.log:**\r\n```java\r\ninfo: [debug] Pushing command to appium work queue: \"au.getElementsByAccessibilityId('邮件')\"\r\ninfo: [debug] Sending command to instruments: au.getElementsByAccessibilityId('邮件')\r\ninfo: [debug] [INST] 2014-12-12 05:12:17 +0000 Debug: Got new command 40 from instruments: au.getElementsByAccessibilityId('邮件')\r\ninfo: [debug] [INST] 2014-12-12 05:12:17 +0000 Debug: evaluating au.getElementsByAccessibilityId('邮件')\r\ninfo: [debug] [INST] 2014-12-12 05:12:17 +0000 Debug: evaluation finished\r\ninfo: [debug] [INST] 2014-12-12 05:12:17 +0000 Debug: Lookup returned [object UIATableCell] with the name \"邮件\" (id: 14).\r\ninfo: [debug] [INST] 2014-12-12 05:12:17 +0000 Debug: Lookup returned [object UIAStaticText] with the name \"邮件\" (id: 15).\r\ninfo: [debug] [INST] 2014-12-12 05:12:17 +0000 Debug: responding with:\r\ninfo: [debug] [INST] 2014-12-12 05:12:17 +0000 Debug: Running system command #41: /Users/coremail/Downloads/node-v0.10.33-darwin-x64/bin/node /Users/coremail/Downloads/node-v0.10.33-darwin-x64/lib/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{\"status\":0,\"value\":[{\"ELEMENT\":\"14\"},{\"ELEMENT\":\"15\"}]}...\r\ninfo: [debug] Socket data received (58 bytes)\r\ninfo: [debug] Socket data being routed.\r\ninfo: [debug] Got result from instruments: {\"status\":0,\"value\":[{\"ELEMENT\":\"14\"},{\"ELEMENT\":\"15\"}]}\r\ninfo: [debug] Responding to client with success: {\"status\":0,\"value\":[{\"ELEMENT\":\"14\"},{\"ELEMENT\":\"15\"}],\"sessionId\":\"b87cad3c-e610-44b3-8864-63e38a572c5b\"}\r\ninfo: <-- POST /wd/hub/session/b87cad3c-e610-44b3-8864-63e38a572c5b/elements 200 1215.171 ms - 107 {\"status\":0,\"value\":[{\"ELEMENT\":\"14\"},{\"ELEMENT\":\"15\"}],\"sessionId\":\"b87cad3c-e610-44b3-8864-63e38a572c5b\"}\r\ninfo: --> POST /wd/hub/session/b87cad3c-e610-44b3-8864-63e38a572c5b/touch/perform {\"actions\":[{\"action\":\"tap\",\"options\":{\"element\":\"14\"}}]}\r\ninfo: [debug] Pushing command to appium work queue: \"au.getElement('14').rect()\"\r\ninfo: [debug] Sending command to instruments: au.getElement('14').rect()\r\ninfo: [debug] [INST] 2014-12-12 05:12:18 +0000 Debug: Got new command 41 from instruments: au.getElement('14').rect()\r\ninfo: [debug] [INST] 2014-12-12 05:12:18 +0000 Debug: evaluating au.getElement('14').rect()\r\ninfo: [debug] [INST] 2014-12-12 05:12:18 +0000 Debug: evaluation finished\r\ninfo: [debug] [INST] 2014-12-12 05:12:18 +0000 Debug: responding with:\r\ninfo: [debug] [INST] 2014-12-12 05:12:18 +0000 Debug: Running system command #42: /Users/coremail/Downloads/node-v0.10.33-darwin-x64/bin/node /Users/coremail/Downloads/node-v0.10.33-darwin-x64/lib/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{\"status\":0,\"value\":{\"origin\":{\"x\":0,\"y\":174},\"size\":{\"width\":768,\"height\":44}}}...\r\ninfo: [debug] Socket data received (82 bytes)\r\ninfo: [debug] Socket data being routed.\r\ninfo: [debug] Got result from instruments: {\"status\":0,\"value\":{\"origin\":{\"x\":0,\"y\":174},\"size\":{\"width\":768,\"height\":44}}}\r\ninfo: [debug] Pushing command to appium work queue: \"au.getElement('14').tapWithOptions({\\\"tapOffset\\\":{\\\"x\\\":0.5,\\\"y\\\":0.5},\\\"tapCount\\\":1,\\\"touchCount\\\":1})\"\r\ninfo: [debug] Sending command to instruments: au.getElement('14').tapWithOptions({\"tapOffset\":{\"x\":0.5,\"y\":0.5},\"tapCount\":1,\"touchCount\":1})\r\ninfo: [debug] [INST] 2014-12-12 05:12:19 +0000 Debug: Got new command 42 from instruments: au.getElement('14').tapWithOptions({\"tapOffset\":{\"x\":0.5,\"y\":0.5},\"tapCount\":1,\"touchCount\":1})\r\ninfo: [debug] [INST] 2014-12-12 05:12:19 +0000 Debug: evaluating au.getElement('14').tapWithOptions({\"tapOffset\":{\"x\":0.5,\"y\":0.5},\"tapCount\":1,\"touchCount\":1})\r\ninfo: [debug] [INST] 2014-12-12 05:12:19 +0000 Debug: UIATableCell.tapWithOptions({tapOffset:{x:\"0.5\", y:\"0.5\"}, touchCount:\"1\", tapCount:\"1\"})\r\ninfo: [debug] [INST] 2014-12-12 05:12:20 +0000 Debug: evaluation finished\r\ninfo: [debug] [INST] 2014-12-12 05:12:20 +0000 Debug: responding with:\r\ninfo: [debug] [INST] 2014-12-12 05:12:20 +0000 Debug: Running system command #43: /Users/coremail/Downloads/node-v0.10.33-darwin-x64/bin/node /Users/coremail/Downloads/node-v0.10.33-darwin-x64/lib/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{\"status\":0,\"value\":\"\"}...\r\ninfo: [debug] Socket data received (25 bytes)\r\ninfo: [debug] Socket data being routed.\r\ninfo: [debug] Got result from instruments: {\"status\":0,\"value\":\"\"}\r\ninfo: [debug] Responding to client with success: {\"status\":0,\"value\":\"\",\"sessionId\":\"b87cad3c-e610-44b3-8864-63e38a572c5b\"}\r\ninfo: <-- POST /wd/hub/session/b87cad3c-e610-44b3-8864-63e38a572c5b/touch/perform 200 2235.524 ms - 74 {\"status\":0,\"value\":\"\",\"sessionId\":\"b87cad3c-e610-44b3-8864-63e38a572c5b\"}\r\ninfo: --> POST /wd/hub/session/b87cad3c-e610-44b3-8864-63e38a572c5b/touch/perform {\"actions\":[{\"action\":\"wait\",\"options\":{}}]}\r\ninfo: [debug] Pushing command to appium work queue: \"target.touch([{\\\"touch\\\":[null],\\\"time\\\":null}])\"\r\ninfo: [debug] Sending command to instruments: target.touch([{\"touch\":[null],\"time\":null}])\r\ninfo: [debug] [INST] 2014-12-12 05:12:21 +0000 Debug: Got new command 43 from instruments: target.touch([{\"touch\":[null],\"time\":null}])\r\ninfo: [debug] [INST] 2014-12-12 05:12:21 +0000 Debug: evaluating target.touch([{\"touch\":[null],\"time\":null}])\r\ninfo: [debug] [INST] 2014-12-12 05:12:21 +0000 Debug: target.touch(__NSCFArray)\r\ninfo: [debug] [INST] 2014-12-12 05:12:22 +0000 Debug: evaluation finished\r\ninfo: [debug] [INST] 2014-12-12 05:12:22 +0000 Debug: responding with:\r\ninfo: [debug] [INST] 2014-12-12 05:12:22 +0000 Debug: Running system command #44: /Users/coremail/Downloads/node-v0.10.33-darwin-x64/bin/node /Users/coremail/Downloads/node-v0.10.33-darwin-x64/lib/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{\"status\":0,\"value\":\"\"}...\r\ninfo: [debug] Socket data received (25 bytes)\r\ninfo: [debug] Socket data being routed.\r\ninfo: [debug] Got result from instruments: {\"status\":0,\"value\":\"\"}\r\ninfo: [debug] Responding to client with success: {\"status\":0,\"value\":\"\",\"sessionId\":\"b87cad3c-e610-44b3-8864-63e38a572c5b\"}\r\ninfo: <-- POST /wd/hub/session/b87cad3c-e610-44b3-8864-63e38a572c5b/touch/perform 200 1984.940 ms - 74 {\"status\":0,\"value\":\"\",\"sessionId\":\"b87cad3c-e610-44b3-8864-63e38a572c5b\"}\r\n```\r\n\r\n**then i try to use simulator7.1:**\r\n>appDriver.tap(1,mail,500);\r\n>appDriver.performTouchAction(new TouchAction(appDriver).tap(mail)).waitAction().perform();\r\n\r\n**all can work well**\r\n"}}