I have given app path for
/Users/admin/Library/Developer/Xcode/DerivedData/Drawing_Desk-dddbkdvfflvbqrfmgkqvjklwhheo/Build/Products/Debug-iphonesimulator/My work.app
As I see you installed the appium server equal or more than 1.6.0. That’s fine.
But you are still run the 1.5.3 server from the appium desktop.
What should you do:
stop the appium server on desktop version - No logs should be in desktop version;
leave running server from the terminal.
run the inspector from appium desktop - just click on the magnifying glass icon - logs should appeared in Terminal where you have ran appium server 1.6.1-beta.
@itchar
Did it, but cannot launch.
Could not start a new session
The log is as follows.
[iOS] SessionNotCreatedError: A new session could not be created. Details: Appium’s IosDriver does not support xcode version 8.0. Apple has deprecated UIAutomation. Use the “XCUITest” automationName capability instead.
when I am starting the app inspector with my iPhone as
app-inspector -u xxxxxxxxxxxxxxxxxxxx
This is the console output:
xctest-client start with port: 8900
WebDriverAgent version: 1.1.6
app-inspector:66:44 [master] pid:1984 undefined
(node:1984) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: >> app-inspector:66:44 [master] pid:1984 undefined
(node:1984) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I uninstalled appium and trying to install using npm install -g [email protected]
But it seems appium hanged at one point i.e.
⸨ ░░░░░░░░░░░░░░⸩ ⠹ loadRequestedDeps: sill install loadAllDepsIntoIdealTree
I tried clearing cache using npm cache clear.
I did npm install --verbose which is giving info as below:
npm WARN enoent ENOENT: no such file or directory, open ‘/Users/myuserid/package.json’
npm verb enoent This is most likely not a problem with npm itself
npm verb enoent and is related to npm not being able to find a file.
npm verb enoent
npm WARN myuserid No description
npm WARN myuserid No repository field.
npm WARN myuserid No README data
npm WARN myuserid No license field.
So I am stuck installing Appium 1.6.4 and No idea about package.json.
Do I need to create this file manually?