Mac OSX 10.10.5
Python 2.7.11
Appium-Python-Client 0.21
Xcode 7.2
I used to live in the beautiful, simple world of Appium.app until it stopped being maintained.
So, I’ve installed node and npm (into my /Users/ directory to negate sudo requirement), I’ve then installed the official Appium server 1.5, can launch it successfully via CLI, my tests run, my iOS sim is launched, everything is just dandy.
At least until I need to perform app discovery to update locators.
So I find this page which details plugging in the node and Appium server locations into Appium.app which should effectively return me to a fully 100% usable Appium.app experience including to both launch the server as well as the Inspector. However, it doesn’t work. It seems to be looking for main.js in the wrong location.
CHRIGRAH-M-2038:bin chrigrah$ which node /usr/local/bin/node CHRIGRAH-M-2038:bin chrigrah$ which appium /Users/chrigrah/npm/bin/appium
I plug those both into Appium.app Developer Settings. Click Launch. The server does not launch, no explicit error is documented. I’ve reset the And see this and only this.
Launching Appium with command: '/usr/local/bin/node' lib/server/main.js --command-timeout "7200" --debug-log-spacing --platform-version "8.1" --platform-name "iOS" --show-ios-log --default-device
Then there’s this, which seems to indicate main.js is in a different location.
CHRIGRAH-M-2038:bin chrigrah$ ls -al /Users/chrigrah/npm/bin/ total 32 drwxr-xr-x 6 chrigrah staff 204 Mar 8 16:12 . drwxr-xr-x 5 chrigrah staff 170 Jan 6 11:15 .. lrwxr-xr-x 1 chrigrah staff 44 Mar 8 16:12 appium -> ../lib/node_modules/appium/build/lib/main.js lrwxr-xr-x 1 chrigrah staff 47 Jan 6 11:23 appium-doctor -> ../lib/node_modules/appium/bin/appium-doctor.js lrwxr-xr-x 1 chrigrah staff 58 Mar 8 16:12 authorize-ios -> ../lib/node_modules/appium/node_modules/.bin/authorize-ios lrwxr-xr-x 1 chrigrah staff 47 Jan 6 11:23 authorize_ios -> ../lib/node_modules/appium/bin/authorize-ios.js
I’m sure I’m missing something simple. But I’m unable to figure out what it is.