Hi,
I am getting error as : Unable to install [/var/folders/_5/h_pymt_x25s0vtpwrhmskblr0000gp/T/1141028-9906-9gxtl5/submodules/SafariLauncher/build/Release-iphoneos/SafariLauncher.app] to device with id [71025dee76d37d3fb8be2475f2b89705f80096d5]. Error [Error: Command failed: ])
I am using
Xcode 6.1
Appium 1.3.3
Mac 10.10.1
ios 8.1.1
Here is log
info: Welcome to Appium v1.3.3 (REV 34e21b01b87d4e3959e1c97c0a8d0b1a610bdc78)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: [debug] Non-default server args: {“udid”:“71025dee76d37d3fb8be2475f2b89705f80096d5”,“launchTimeout”:“90000”,“safari”:true,“deviceName”:“iPad”,“browserName”:“Safari”,“defaultCommandTimeout”:7200}
info: Console LogLevel: debug
info: --> POST /wd/hub/session {“desiredCapabilities”:{“deviceName”:“iPad”,“platformName”:“iOS”,“browserName”:“safari”,“versionName”:“8.1.1”}}
info: Client User-Agent string: Apache-HttpClient/4.3.2 (java 1.5)
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. : versionName
info: [debug] Configuring Safari session
info: [debug] Using local .zip from command line: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/SafariLauncher/SafariLauncher.zip
info: [debug] Copying local zip to tmp dir
info: [debug] /Applications/Appium.app/Contents/Resources/node_modules/appium/build/SafariLauncher/SafariLauncher.zip copied to /var/folders/_5/h_pymt_x25s0vtpwrhmskblr0000gp/T/1141028-9906-9gxtl5/appium-app.zip
info: [debug] Unzipping /var/folders/_5/h_pymt_x25s0vtpwrhmskblr0000gp/T/1141028-9906-9gxtl5/appium-app.zip
info: [debug] Testing zip archive: /var/folders/_5/h_pymt_x25s0vtpwrhmskblr0000gp/T/1141028-9906-9gxtl5/appium-app.zip
info: [debug] Zip archive tested clean
info: [debug] Unzip successful
info: [debug] Using locally extracted app: /var/folders/_5/h_pymt_x25s0vtpwrhmskblr0000gp/T/1141028-9906-9gxtl5/submodules/SafariLauncher/build/Release-iphoneos/SafariLauncher.app
info: [debug] Creating new appium session 11b63215-e043-432b-9b4e-a1ade509a747
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
parseFileSync()
is deprecated. Use parseStringSync()
instead.
info: [debug] Could not parse plist file (as binary) at /var/folders/_5/h_pymt_x25s0vtpwrhmskblr0000gp/T/1141028-9906-9gxtl5/submodules/SafariLauncher/build/Release-iphoneos/SafariLauncher.app/en.lproj/Localizable.strings
info: Will try to parse the plist file as XML
info: [debug] Could not parse plist file (as XML) at /var/folders/_5/h_pymt_x25s0vtpwrhmskblr0000gp/T/1141028-9906-9gxtl5/submodules/SafariLauncher/build/Release-iphoneos/SafariLauncher.app/en.lproj/Localizable.strings
warn: Could not parse app Localizable.strings; assuming it doesn’t exist
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/sas/Library/Application Support/appium/bootstrap
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,“sendKeyStrategy”:“grouped”}
info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
…
info: [debug] Dynamic bootstrap path: /Users/sas/Library/Application Support/appium/bootstrap/bootstrap-0943baae6b1d6f5b.js
info: [debug] Reusing dynamic bootstrap: /Users/sas/Library/Application Support/appium/bootstrap/bootstrap-0943baae6b1d6f5b.js
info: [debug] Getting device string from opts: {“forceIphone”:false,“forceIpad”:false,“xcodeVersion”:“6.1”,“iOSSDKVersion”:“8.1”,“deviceName”:“iPad”,“platformVersion”:null}
info: [debug] fixDevice is on
info: [debug] Final device string is: ‘iPad (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
info: [debug] Not pre-launching simulator
info: [debug] Checking app install status using: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id 71025dee76d37d3fb8be2475f2b89705f80096d5 --bundle com.bytearc.SafariLauncher
info: [debug] Installing app using cmd: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap install --id 71025dee76d37d3fb8be2475f2b89705f80096d5 --bundle “/var/folders/_5/h_pymt_x25s0vtpwrhmskblr0000gp/T/1141028-9906-9gxtl5/submodules/SafariLauncher/build/Release-iphoneos/SafariLauncher.app”
info: [debug] Cleaning up appium session
error: Failed to start an Appium session, err was: Error: Unable to install [/var/folders/_5/h_pymt_x25s0vtpwrhmskblr0000gp/T/1141028-9906-9gxtl5/submodules/SafariLauncher/build/Release-iphoneos/SafariLauncher.app] to device with id [71025dee76d37d3fb8be2475f2b89705f80096d5]. Error [Error: Command failed: ]
info: [debug] Error: Unable to install [/var/folders/_5/h_pymt_x25s0vtpwrhmskblr0000gp/T/1141028-9906-9gxtl5/submodules/SafariLauncher/build/Release-iphoneos/SafariLauncher.app] to device with id [71025dee76d37d3fb8be2475f2b89705f80096d5]. Error [Error: Command failed: ]
at /Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/common.js:147:10
at ChildProcess.exithandler (child_process.js:652:7)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Socket. (child_process.js:969:11)
at Socket.emit (events.js:95:17)
at Pipe.close (net.js:465:12)
info: [debug] Responding to client with error: {“status”:33,“value”:{“message”:“A new session could not be created. (Original error: Unable to install [/var/folders/_5/h_pymt_x25s0vtpwrhmskblr0000gp/T/1141028-9906-9gxtl5/submodules/SafariLauncher/build/Release-iphoneos/SafariLauncher.app] to device with id [71025dee76d37d3fb8be2475f2b89705f80096d5]. Error [Error: Command failed: ])”,“origValue”:“Unable to install [/var/folders/_5/h_pymt_x25s0vtpwrhmskblr0000gp/T/1141028-9906-9gxtl5/submodules/SafariLauncher/build/Release-iphoneos/SafariLauncher.app] to device with id [71025dee76d37d3fb8be2475f2b89705f80096d5]. Error [Error: Command failed: ]”},“sessionId”:null}
info: <-- POST /wd/hub/session 500 3219.524 ms - 622