Encountered internal error running command: Error: Installing /
See original GitHub issueThe problem
Unable to install and launch app and run inspector.
Log Details:
Launching Appium with command: '/Applications/Appium.app/Contents/Resources/node/bin/node' appium/build/lib/main.js --address "127.0.0.1" --port "4725" --debug-log-spacing --platform-version "8.4" --platform-name "iOS" --app "/Users/sabyasachi.mohapatra/Downloads/ParkNow.ipa" --udid "851dbfc8a071a142200639db51564c7b64a794d5" --device-name "iPhone van Phonixx" --isolate-sim-device
[Appium] Welcome to Appium v1.5.3
[Appium] Non-default server args:
[Appium] address: '127.0.0.1'
[Appium] port: 4725
[Appium] isolateSimDevice: true
[Appium] debugLogSpacing: true
[Appium] platformName: 'iOS'
[Appium] platformVersion: '8.4'
[Appium] deviceName: 'iPhone van Phonixx'
[Appium] app: '/Users/sabyasachi.mohapatra/Downloads/ParkNow.ipa'
[Appium] udid: '851dbfc8a071a142200639db51564c7b64a794d5'
[Appium] Deprecated server args:
[Appium] --platform-name => --default-capabilities '{"platformName":"iOS"}'
[Appium] --platform-version => --default-capabilities '{"platformVersion":"8.4"}'
[Appium] --device-name => --default-capabilities '{"deviceName":"iPhone van Phonixx"}'
[Appium] --app => --default-capabilities '{"app":"/Users/sabyasachi.mohapatra/Downloads/ParkNow.ipa"}'
[Appium] -U,--udid => --default-capabilities '{"udid":"851dbfc8a071a142200639db51564c7b64a794d5"}'
[Appium] Default capabilities, which will be added to each request unless overridden by desired capabilities:
[Appium] platformName: 'iOS'
[Appium] platformVersion: '8.4'
[Appium] deviceName: 'iPhone van Phonixx'
[Appium] app: '/Users/sabyasachi.mohapatra/Downloads/ParkNow.ipa'
[Appium] udid: '851dbfc8a071a142200639db51564c7b64a794d5'
[Appium] Appium REST http interface listener started on 127.0.0.1:4725
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"...
[HTTP] <-- GET /wd/hub/status 200 19 ms - 83
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"...
[HTTP] <-- GET /wd/hub/status 200 12 ms - 83
[HTTP] --> GET /wd/hub/sessions {}
[MJSONWP] Calling AppiumDriver.getSessions() with args: []
[MJSONWP] Responding to client with driver.getSessions() result: []
[HTTP] <-- GET /wd/hub/sessions 200 2 ms - 40
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"iOS","newCommandTimeout":"7200","app":"/Users/sabyasachi.mohapatra/Downloads/ParkNow.ipa","platformVersion":"8.4","udid":"851dbfc8a071a142200639db51564c7b64a794d5","deviceName":"iPhone van Phonixx","automationName":"Appium"}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","new...
[Appium] Creating new IosDriver session
[Appium] Capabilities:
[Appium] platformName: 'iOS'
[Appium] newCommandTimeout: '7200'
[Appium] app: '/Users/sabyasachi.mohapatra/Downloads/ParkNow.ipa'
[Appium] platformVersion: '8.4'
[Appium] udid: '851dbfc8a071a142200639db51564c7b64a794d5'
[Appium] deviceName: 'iPhone van Phonixx'
[Appium] automationName: 'Appium'
[BaseDriver] Capability 'newCommandTimeout' changed from string ('7200') to integer (7200). This may cause unexpected behavior
[BaseDriver] Session created with session id: 9580e664-6a88-41f9-94e4-4d98cf398ca8
[debug] [iOS] Not auto-detecting udid.
[BaseDriver] Using local app '/Users/sabyasachi.mohapatra/Downloads/ParkNow.ipa'
[debug] [BaseDriver] Copying local zip to tmp dir
[debug] [BaseDriver] Unzipping /var/folders/pp/gkgg33xx5_3050qwh2d_mbphtsy9xw/T/201694-1341-1wtwf5l/appium-app.zip
[debug] [BaseDriver] Testing zip archive: /var/folders/pp/gkgg33xx5_3050qwh2d_mbphtsy9xw/T/201694-1341-1wtwf5l/appium-app.zip
[BaseDriver] Unzipped local app to '/var/folders/pp/gkgg33xx5_3050qwh2d_mbphtsy9xw/T/201694-1341-1wtwf5l/Payload/ParkNow.app'
[debug] [iOS] Removing any remaining instruments sockets
[debug] [iOS] Cleaned up instruments socket /var/folders/pp/gkgg33xx5_3050qwh2d_mbphtsy9xw/T/instruments_sock
[debug] [iOS] No language specified. Using default strings
[debug] [iOS] Strings file not found. Looking in 'en.lproj' directory
[iOS] Could not file localizable strings file 'Localizable.strings'!
[debug] [ios-app-utils] Getting bundle ID from app
[iOS] Extracted bundleID: com.park-now.test from app: /var/folders/pp/gkgg33xx5_3050qwh2d_mbphtsy9xw/T/201694-1341-1wtwf5l/Payload/ParkNow.app
[debug] [iOS] Creating instruments
[debug] [UIAuto] Preparing bootstrap code
[debug] [UIAuto] Dynamic bootstrap dir: /Users/sabyasachi.mohapatra/Library/Application Support/appium/bootstrap
[debug] [UIAuto] Dynamic env: {"nodePath":"/Applications/Appium.app/Contents/Resources/node/bin/node","commandProxyClientPath":"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js","instrumentsSock":"/var/folders/pp/gkgg33xx5_3050qwh2d_mbphtsy9xw/T/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false,"autoDismissAlerts":false,"sendKeyStrategy":"grouped"}
[debug] [UIAuto] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
...
[debug] [UIAuto] Dynamic bootstrap path: /Users/sabyasachi.mohapatra/Library/Application Support/appium/bootstrap/bootstrap-d9ee289ec1909dd1.js
[debug] [UIAuto] Reusing dynamic bootstrap: /Users/sabyasachi.mohapatra/Library/Application Support/appium/bootstrap/bootstrap-d9ee289ec1909dd1.js
[debug] [iOS] Running ios real device reset flow
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Found idevicesyslog: '/usr/local/bin/idevicesyslog'
[debug] [iOS] Creating iDevice object with udid 851dbfc8a071a142200639db51564c7b64a794d5
[debug] [iOS] App is not installed. Will try to install.
[MJSONWP] Encountered internal error running command: Error: Installing /var/folders/pp/gkgg33xx5_3050qwh2d_mbphtsy9xw/T/201694-1341-1wtwf5l/Payload/ParkNow.app failed
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/node-idevice/main.js:159:6
at ChildProcess.exithandler (child_process.js:193:7)
at emitTwo (events.js:100:13)
at ChildProcess.emit (events.js:185:7)
at maybeClose (internal/child_process.js:850:16)
at Socket.<anonymous> (internal/child_process.js:323:11)
at emitOne (events.js:90:13)
at Socket.emit (events.js:182:7)
at Pipe._onclose (net.js:475:12)
[HTTP] <-- POST /wd/hub/session 500 3236 ms - 243
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"...
[HTTP] <-- GET /wd/hub/status 200 11 ms - 83
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"...
[HTTP] <-- GET /wd/hub/status 200 12 ms - 83
Issue Analytics
- State:
- Created 7 years ago
- Comments:16 (6 by maintainers)
Top Results From Across the Web
Error: Cannot verify the signature of 'C:\Users\300895 ... - GitHub
Getting Encountered internal error running command: Error: Cannot verify the signature of ... io.appium.uiautomator2.server installation state: notInstalled
Read more >Encountered internal error running command - Appium Discuss
Encountered internal error running command: Error: 'app' option is required for reinstall - Issues/Bugs - Appium Discuss.
Read more >Server-side error occurred while processing Appium-server
The server is running [Appium] Welcome to Appium v1.22.3 [Appium] ... [W3C] Encountered internal error running command: Error: 'app' option ...
Read more >intermittently occuring appium unknown server-side error
If you see an error there, it indicates that there is an issue with Appium. Un-install and install stable version of Appium and...
Read more >Encountered internal error running command ... - CSDN博客
报错Encountered internal error running command: Error: Error occured while starting App. Original error: Error executing adbExec[ADB] Error: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I got the problem sovled with sudo chmod -R 777 /var/db/lockdown. My environment is: xcode 7.3.1, appium 1.5.3, os macos 10.12.1 Sierra
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.