{"action":"opened","issue":{"url":"https://api.github.com/repos/appium/appium/issues/7246","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/7246/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/7246/comments","events_url":"https://api.github.com/repos/appium/appium/issues/7246/events","html_url":"https://github.com/appium/appium/issues/7246","id":190098051,"number":7246,"title":"appium 1.6.1 beta with ios 8.1 and xcode 7.3.1 not working","user":{"login":"kineret321","id":23450086,"avatar_url":"https://avatars.githubusercontent.com/u/23450086?v=3","gravatar_id":"","url":"https://api.github.com/users/kineret321","html_url":"https://github.com/kineret321","followers_url":"https://api.github.com/users/kineret321/followers","following_url":"https://api.github.com/users/kineret321/following{/other_user}","gists_url":"https://api.github.com/users/kineret321/gists{/gist_id}","starred_url":"https://api.github.com/users/kineret321/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kineret321/subscriptions","organizations_url":"https://api.github.com/users/kineret321/orgs","repos_url":"https://api.github.com/users/kineret321/repos","events_url":"https://api.github.com/users/kineret321/events{/privacy}","received_events_url":"https://api.github.com/users/kineret321/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-17T16:38:02Z","updated_at":"2016-11-17T16:38:02Z","closed_at":null,"body":"So i finally succeed working with appium 1.6.1 beta ios 10 and xcode 8.1.\r\nBut now i have problem working on the same machine with ios older versions.\r\nI installed xcode 7.3.1 (now i have both xcode version 7.3.1 and 8.1),\r\nand when i want to use older ios versions I use xcode 7.3.1 as my default xcode version, \r\nso this is not the problem.\r\nwhen im trying to use appium UI or from my script with the below desired caps:\r\ndesired_caps = {}\r\ndesired_caps['appium-version'] = '1.6'\r\ndesired_caps['platformName'] = 'ios'\r\ndesired_caps['platformVersion'] = '8.1'\r\ndesired_caps['deviceName'] = '5s'\r\ndesired_caps['app'] = os.path.abspath(desktop+\"/Files/ios_1.7.2_TE3487.ipa\")\r\ndesired_caps['newCommandTimeout']= 0\r\ndesired_caps['udid']= '13eeac71220d7ef92316ab3deaf0d2de22d2f263'#'4ba95a2da3af6869344047620c1755dd23cdbc57\r\n\r\nit returns error:\r\nselenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Installing /var/folders/x7/g459t3xs3nz99lmm86jwvx140000gp/T/20161017-9857-6fngl3.xmb0c6jemi/Payload/PingID-Test.app failed\r\n\r\nappium log:\r\n\r\n2016-11-17 16:33:54:904 - info: [Appium] Welcome to Appium v1.6.1-beta\r\n2016-11-17 16:33:54:906 - info: [Appium] Non-default server args:\r\n2016-11-17 16:33:54:907 - info: [Appium]   log: '/Users/aalocal/Desktop/appium_logs.txt'\r\n2016-11-17 16:33:54:908 - info: [Appium]   fullReset: true\r\n2016-11-17 16:33:54:908 - info: [Appium]   showIOSLog: true\r\n2016-11-17 16:33:54:909 - warn: [Appium] Deprecated server args:\r\n2016-11-17 16:33:54:909 - warn: [Appium]   --full-reset => --default-capabilities '{\"fullReset\":true}'\r\n2016-11-17 16:33:54:909 - warn: [Appium]   --show-ios-log => --default-capabilities '{\"showIOSLog\":true}'\r\n2016-11-17 16:33:54:909 - info: [Appium] Default capabilities, which will be added to each request unless overridden by desired capabilities:\r\n2016-11-17 16:33:54:910 - info: [Appium]   fullReset: true\r\n2016-11-17 16:33:54:911 - info: [Appium]   showIOSLog: true\r\n2016-11-17 16:33:54:954 - info: [Appium] Appium REST http interface listener started on 0.0.0.0:4723\r\n2016-11-17 16:33:55:766 - info: [HTTP] --> GET /wd/hub/status {}\r\n2016-11-17 16:33:55:768 - info: [debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: []\r\n2016-11-17 16:33:55:770 - info: [HTTP] --> GET /wd/hub/status {}\r\n2016-11-17 16:33:55:770 - info: [debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: []\r\n2016-11-17 16:33:55:783 - info: [debug] [MJSONWP] Responding to client with driver.getStatus() result: {\"build\":{\"version\":\"1.6.1-beta\",\"revision\":null}}\r\n2016-11-17 16:33:55:789 - info: [HTTP] <-- GET /wd/hub/status 200 20 ms - 88 \r\n2016-11-17 16:33:55:801 - info: [debug] [MJSONWP] Responding to client with driver.getStatus() result: {\"build\":{\"version\":\"1.6.1-beta\",\"revision\":null}}\r\n2016-11-17 16:33:55:803 - info: [HTTP] <-- GET /wd/hub/status 200 32 ms - 88 \r\n2016-11-17 16:33:56:467 - info: [HTTP] --> POST /wd/hub/session {\"desiredCapabilities\":{\"deviceName\":\"5s\",\"udid\":\"13eeac71220d7ef92316ab3deaf0d2de22d2f263\",\"app\":\"/Users/aalocal/Downloads/pingid.ipa\",\"appium-version\":\"1.6\",\"newCommandTimeout\":0,\"platformVersion\":\"8.1\",\"platformName\":\"ios\"}}\r\n2016-11-17 16:33:56:468 - info: [debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{\"deviceName\":\"5s\",\"udid\":\"13eeac71220d7ef92316ab3deaf0d2de22d2f263\",\"app\":\"/Users/aalocal/Downloads/pingid.ipa\",\"appium-version\":\"1.6\",\"newCommandTimeout\":0,\"platformVersion\":\"8.1\",\"platformName\":\"ios\"},null,null,null,null]\r\n2016-11-17 16:33:56:470 - info: [Appium] Creating new IosDriver session\r\n2016-11-17 16:33:56:470 - info: [Appium] Capabilities:\r\n2016-11-17 16:33:56:471 - info: [Appium]   deviceName: '5s'\r\n2016-11-17 16:33:56:472 - info: [Appium]   udid: '13eeac71220d7ef92316ab3deaf0d2de22d2f263'\r\n2016-11-17 16:33:56:472 - info: [Appium]   app: '/Users/israellocal/Downloads/pingid.ipa'\r\n2016-11-17 16:33:56:472 - info: [Appium]   appium-version: '1.6'\r\n2016-11-17 16:33:56:472 - info: [Appium]   newCommandTimeout: 0\r\n2016-11-17 16:33:56:473 - info: [Appium]   platformVersion: '8.1'\r\n2016-11-17 16:33:56:473 - info: [Appium]   platformName: 'ios'\r\n2016-11-17 16:33:56:473 - info: [Appium]   fullReset: true\r\n2016-11-17 16:33:56:488 - info: [Appium]   showIOSLog: true\r\n2016-11-17 16:33:56:490 - info: [debug] [iOS] IosDriver version: 1.12.32\r\n2016-11-17 16:33:56:495 - warn: [BaseDriver] The following capabilities were provided, but are not recognized by appium: appium-version.\r\n2016-11-17 16:33:56:517 - info: [BaseDriver] Session created with session id: efc421c6-d2a1-46ba-9e05-4e6e8f2fbeab\r\n2016-11-17 16:33:56:560 - info: [debug] [iOS] Xcode version set to 7.3.1\r\n2016-11-17 16:33:56:560 - info: [debug] [iOS] Not auto-detecting udid.\r\n2016-11-17 16:33:56:563 - info: [BaseDriver] Using local app '/Users/israellocal/Downloads/pingid.ipa'\r\n2016-11-17 16:33:56:563 - info: [debug] [BaseDriver] Copying local zip to tmp dir\r\n2016-11-17 16:33:56:631 - info: [debug] [BaseDriver] Unzipping /var/folders/x7/g459t3xs3nz99lmm86jwvx140000gp/T/20161017-10296-16s1xqz.5awq99hpvi/appium-app.zip\r\n2016-11-17 16:33:56:632 - info: [debug] [BaseDriver] Testing zip archive: /var/folders/x7/g459t3xs3nz99lmm86jwvx140000gp/T/20161017-10296-16s1xqz.5awq99hpvi/appium-app.zip\r\n2016-11-17 16:33:57:316 - info: [BaseDriver] Unzipped local app to '/var/folders/x7/g459t3xs3nz99lmm86jwvx140000gp/T/20161017-10296-16s1xqz.5awq99hpvi/Payload/PingID-Test.app'\r\n2016-11-17 16:33:57:317 - info: [debug] [iOS] Removing any remaining instruments sockets\r\n2016-11-17 16:33:57:319 - info: [debug] [iOS] Cleaned up instruments socket /var/folders/x7/g459t3xs3nz99lmm86jwvx140000gp/T/instruments_sock\r\n2016-11-17 16:33:57:320 - info: [debug] [iOS] No language specified. Using default strings\r\n2016-11-17 16:33:57:320 - info: [debug] [iOS] Strings file not found. Looking in 'en.lproj' directory\r\n2016-11-17 16:33:57:323 - info: [debug] [iOS] Parsed app 'Localizable.strings'\r\n2016-11-17 16:33:57:326 - info: [debug] [ios-app-utils] Getting bundle ID from app '/var/folders/x7/g459t3xs3nz99lmm86jwvx140000gp/T/20161017-10296-16s1xqz.5awq99hpvi/Payload/PingID-Test.app': 'com.pingidentity.pingid.testEnterprise'\r\n2016-11-17 16:33:57:326 - info: [iOS] Extracted bundleID: com.pingidentity.pingid.testEnterprise from app: /var/folders/x7/g459t3xs3nz99lmm86jwvx140000gp/T/20161017-10296-16s1xqz.5awq99hpvi/Payload/PingID-Test.app\r\n2016-11-17 16:33:57:327 - info: [debug] [iOS] Creating instruments\r\n2016-11-17 16:33:57:328 - info: [debug] [UIAuto] Preparing bootstrap code\r\n2016-11-17 16:33:57:328 - info: [debug] [UIAuto] Dynamic bootstrap dir: /Users/israellocal/Library/Application Support/appium/bootstrap\r\n2016-11-17 16:33:57:329 - info: [debug] [UIAuto] Dynamic env: {\"nodePath\":\"/usr/local/Cellar/node/7.0.0/bin/node\",\"commandProxyClientPath\":\"/usr/local/lib/node_modules/appium/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js\",\"instrumentsSock\":\"/var/folders/x7/g459t3xs3nz99lmm86jwvx140000gp/T/instruments_sock\",\"interKeyDelay\":null,\"justLoopInfinitely\":false,\"autoAcceptAlerts\":false,\"autoDismissAlerts\":false,\"sendKeyStrategy\":\"grouped\"}\r\n2016-11-17 16:33:57:356 - info: [debug] [UIAuto] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!\r\n...\r\n2016-11-17 16:33:57:356 - info: [debug] [UIAuto] Dynamic bootstrap path: /Users/israellocal/Library/Application Support/appium/bootstrap/bootstrap-60b46022c755c8c8.js\r\n2016-11-17 16:33:57:359 - info: [debug] [UIAuto] Reusing dynamic bootstrap: /Users/israellocal/Library/Application Support/appium/bootstrap/bootstrap-60b46022c755c8c8.js\r\n2016-11-17 16:33:57:361 - info: [debug] [iOS] Creating iDevice object with udid 13eeac71220d7ef92316ab3deaf0d2de22d2f263\r\n2016-11-17 16:33:57:365 - info: [debug] [iOS] Running ios real device reset flow\r\n2016-11-17 16:33:57:366 - info: [debug] [iOS] Full reset requested. Will try to uninstall the app 'com.pingidentity.pingid.testEnterprise'.\r\n2016-11-17 16:33:57:744 - info: [debug] [iOS] App not installed. No need to uninstall\r\n2016-11-17 16:33:58:118 - error: [iOS] Could not remove 'com.pingidentity.pingid.testEnterprise' from device\r\n2016-11-17 16:33:58:119 - error: [MJSONWP] Encountered internal error running command: Error: Removing com.pingidentity.pingid.testEnterprise failed\r\n    at /usr/local/lib/node_modules/appium/node_modules/node-idevice/main.js:145:6\r\n    at ChildProcess.exithandler (child_process.js:202:7)\r\n    at emitTwo (events.js:106:13)\r\n    at ChildProcess.emit (events.js:191:7)\r\n    at maybeClose (internal/child_process.js:877:16)\r\n    at Socket.<anonymous> (internal/child_process.js:334:11)\r\n    at emitOne (events.js:96:13)\r\n    at Socket.emit (events.js:188:7)\r\n    at Pipe._handle.close [as _onclose] (net.js:501:12)\r\n2016-11-17 16:33:58:127 - info: [HTTP] <-- POST /wd/hub/session 500 1659 ms - 191 \r\n2016-11-17 16:34:06:940 - info: [HTTP] --> GET /wd/hub/status {}\r\n2016-11-17 16:34:06:941 - info: [debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: []\r\n2016-11-17 16:34:06:952 - info: [debug] [MJSONWP] Responding to client with driver.getStatus() result: {\"build\":{\"version\":\"1.6.1-beta\",\"revision\":null}}\r\n2016-11-17 16:34:06:955 - info: [HTTP] <-- GET /wd/hub/status 200 13 ms - 88 \r\n2016-11-17 16:34:06:956 - info: [HTTP] --> GET /wd/hub/status {}\r\n2016-11-17 16:34:06:956 - info: [debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: []\r\n2016-11-17 16:34:06:966 - info: [debug] [MJSONWP] Responding to client with driver.getStatus() result: {\"build\":{\"version\":\"1.6.1-beta\",\"revision\":null}}\r\n2016-11-17 16:34:06:967 - info: [HTTP] <-- GET /wd/hub/status 200 11 ms - 88"}}
{"actor":{"display_login":"kineret321"}}