Skip to content

Instantly share code, notes, and snippets.

@vikramvi
Created January 18, 2017 13:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vikramvi/5639feb89e5604765aff71daebb527bd to your computer and use it in GitHub Desktop.
Save vikramvi/5639feb89e5604765aff71daebb527bd to your computer and use it in GitHub Desktop.
Real iPhone Device arc command error
[Appium] Welcome to Appium v1.6.3
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"newCommandTimeout":999999,"automationName":"XCUITest","platformName":"iOS","app":"/Users/vikram-anna/Library/Developer/Xcode/DerivedData/Crew-ekfegdmljqnbcwhkosdznvmpdndr/Build/Products/Debug-iphonesimulator/Crew.app","deviceName":"Vikram's iPhone","platformVersion":"10.2","udid":"97d9bb791384407fa67df34c07fbfa70e7efab09"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"newCommandTimeout":999999,"automationName":"XCUITest","platformName":"iOS","app":"/Users/vikram-anna/Library/Developer/Xcode/DerivedData/Crew-ekfegdmljqnbcwhkosdznvmpdndr/Build/Products/Debug-iphonesimulator/Crew.app","deviceName":"Vikram's iPhone","platformVersion":"10.2","udid":"97d9bb791384407fa67df34c07fbfa70e7efab09"},null,null,null,null]
[Appium] Creating new XCUITestDriver session
[Appium] Capabilities:
[Appium] newCommandTimeout: 999999
[Appium] automationName: 'XCUITest'
[Appium] platformName: 'iOS'
[Appium] app: '/Users/vikram-anna/Library/Developer/Xcode/DerivedData/Crew-ekfegdmljqnbcwhkosdznvmpdndr/Build/Products/Debug-iphonesimulator/Crew.app'
[Appium] deviceName: 'Vikram\'s iPhone'
[Appium] platformVersion: '10.2'
[Appium] udid: '97d9bb791384407fa67df34c07fbfa70e7efab09'
[debug] [XCUITest] XCUITestDriver version: 2.4.2
[BaseDriver] Session created with session id: da3d2793-4895-4b58-92b5-2e06f82c34c2
[debug] [XCUITest] Xcode version set to '8.2.1'
[debug] [XCUITest] iOS SDK Version set to '10.2'
[debug] [XCUITest] Available devices: 97d9bb791384407fa67df34c07fbfa70e7efab09
[debug] [XCUITest] Creating iDevice object with udid 97d9bb791384407fa67df34c07fbfa70e7efab09
[XCUITest] Determining device to run tests on: udid: '97d9bb791384407fa67df34c07fbfa70e7efab09', real device: true
[BaseDriver] Using local app '/Users/vikram-anna/Library/Developer/Xcode/DerivedData/Crew-ekfegdmljqnbcwhkosdznvmpdndr/Build/Products/Debug-iphonesimulator/Crew.app'
[debug] [XCUITest] Checking whether app '/Users/vikram-anna/Library/Developer/Xcode/DerivedData/Crew-ekfegdmljqnbcwhkosdznvmpdndr/Build/Products/Debug-iphonesimulator/Crew.app' is actually present
[debug] [XCUITest] App is present
[debug] [ios-app-utils] Getting bundle ID from app '/Users/vikram-anna/Library/Developer/Xcode/DerivedData/Crew-ekfegdmljqnbcwhkosdznvmpdndr/Build/Products/Debug-iphonesimulator/Crew.app': 'one.noa.crew'
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Found idevicesyslog: '/usr/local/bin/idevicesyslog'
[XCUITest] Setting up real device
[debug] [XCUITest] Error checking install status: Command 'ios-deploy --exists --id 97d9bb791384407fa67df34c07fbfa70e7efab09 --bundle_id one.noa.crew' exited with code 255
[debug] [XCUITest] App is not installed. Will try to install.
[debug] [XCUITest] Error : Command 'ios-deploy --id 97d9bb791384407fa67df34c07fbfa70e7efab09 --uninstall --bundle /Users/vikram-anna/Library/Developer/Xcode/DerivedData/Crew-ekfegdmljqnbcwhkosdznvmpdndr/Build/Products/Debug-iphonesimulator/Crew.app' exited with code 253
[XCUITest] Error: Could not install app Command 'ios-deploy --id 97d9bb791384407fa67df34c07fbfa70e7efab09 --uninstall --bundle /Users/vikram-anna/Library/Developer/Xcode/DerivedData/Crew-ekfegdmljqnbcwhkosdznvmpdndr/Build/Products/Debug-iphonesimulator/Crew.app' exited with code 253
at IOSDeploy.install$ (../../lib/ios-deploy.js:39:13)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at process._tickCallback (internal/process/next_tick.js:103:7)
Error: Could not install app Command 'ios-deploy --id 97d9bb791384407fa67df34c07fbfa70e7efab09 --uninstall --bundle /Users/vikram-anna/Library/Developer/Xcode/DerivedData/Crew-ekfegdmljqnbcwhkosdznvmpdndr/Build/Products/Debug-iphonesimulator/Crew.app' exited with code 253
at IOSDeploy.install$ (../../lib/ios-deploy.js:39:13)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at process._tickCallback (internal/process/next_tick.js:103:7)
[debug] [XCUITest] Running ios real device reset flow
[debug] [XCUITest] Resetting simulator
[debug] [iOSLog] Stopping iOS log capture
[MJSONWP] Encountered internal error running command: Error: Could not install app Command 'ios-deploy --id 97d9bb791384407fa67df34c07fbfa70e7efab09 --uninstall --bundle /Users/vikram-anna/Library/Developer/Xcode/DerivedData/Crew-ekfegdmljqnbcwhkosdznvmpdndr/Build/Products/Debug-iphonesimulator/Crew.app' exited with code 253
at IOSDeploy.install$ (../../lib/ios-deploy.js:39:13)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at process._tickCallback (internal/process/next_tick.js:103:7)
[HTTP] <-- POST /wd/hub/session 500 2030 ms - 402
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment