Can't run tests with appium - macos

The problem
Can't run tests!
Appium version 1.8.1 / command for run appium
Environment
Appium version 1.8.1 / command for run appium
Node 10.6.0
ios_webkit_debug_proxy 1.8 / command for run ios_webkit_debug_proxy -c my_udid:27753
libimobiledevice v1.2.0
libplist v2.0.0
Real device : iPhone 6 (11.0)
MacOS 10.13.6
My logs
Appium Server

Related

cypress upgrade 9.0 to 10.3 , missing executable cypress.exe

I upgraded from Cypress 9.0 to 10.3.0 with Corporate Proxy . PS C:\CypressUpgrade10> node -v v12.14.1 PS C:\CypressUpgrade10> npm -v 6.13.4
PS C:\CypressUpgrade10>
I download (from nexus) & installation seems to be success
npx cypress -v Cypress binary version: 10.3.0 Electron version: 18.3.0 Bundled Node version: 16.13.2
But npx cypress verify or cypress run /open gives error as below & there is no Cypress.exe on Local
No version of Cypress is installed in: C:\Users\AppData\Local\Cypress\Cache\10.3.0\Cypress
Please reinstall Cypress by running: cypress install
Cypress executable not found at: C:\Users\AppData\Local\Cypress\Cache\10.3.0\Cypress\Cypress.exe
Platform: win32-x64 (10.0.19042) Cypress Version: 10.3.0
Missing any dependency or compatibility issue ?
Thanks
Run the command npx cypress install. This should fix your issue.
It works after updating Binary version to 0 & installing by npm install cypress#10.3.0

Brew upgrade not working on latest OSX High Sierra beta version

I am getting the following error when upgrading brew packages
Error: Your Xcode (8.3.3) is too outdated.
Please update to Xcode 9.0 (or delete it).
Xcode can be updated from
https://developer.apple.com/download/more/
Since I am using the beta osx version
High Sierra
System Version: macOS 10.13
Kernel Version: Darwin 17.0.0
It seems like I have to upgrade the beta Xcode version (Xcode 9) too, which I have downloaded and installed successfully from apple website https://developer.apple.com/xcode/
Now, my question is how do I switch the Xcode version on my mac so that brew command uses the newly installed Xcode.
When I run xcodebuild -version I am getting the following output (installed from App store)
Xcode 8.3.3
Build version 8E3004b
whereas the beta version I have downloaded is from the apple website directly shows 9.0 beta 6
Since Xcode is downloaded from the website the full command to switch is the following (considering you've moved the app to the application folder)
sudo xcode-select --switch /Applications/Xcode-beta.app
I had to reinstall brew:
Uninstall it:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
Then you can install it again:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

upgrade Appium from 1.4.8 to 1.5.0

Is it possible to upgrade straight from appium 1.4.8 to appium 1.5.0 or should i upgrade to the closest version?
Basically, on mac all i need to do is to type sudo npm install appium#1.5.0?
thanks
You can use appium-version-manager to deal with this :
$ npm install -g appium-version-manager
then install a specific version saying :
$ avm 1.5.0
Learn more about it here.
This will automatically install the latest version:
npm install -g appium # globally install appium

Ionic 2 , Cant find app folder (mac)

I am tried to install ionic 2 :
sudo npm install -g ionic#beta
ionic start mytest --v2 --ts
and then i check the ionic version (ionic -v ) its tell me that my
version is : 1.7.8
it seems that i have the older version of ionic
please help.
Did you by any chance installed Ionic one, after installing ionic 2? If so run:
sudo npm install -g ionic#beta
again and everything should start working.

How to install cordova version 1.5 on mac using npm command?

I am able to download cordova using the following command
sudo npm install -g cordova.
But it downloads the latest version i.e version 3.4 which is not compatible with my xcode version which is 3.2. So I want to download version 1.5 of cordova. How to download version 1.5 of cordova using the above command?
sudo npm install -g cordova#VERSION_NO
these are the available versions
["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.0.8","0.0.9","0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.1.9","0.1.10","0.1.11","0.1.12","0.1.13","0.1.14","2.2.0","2.3.0","2.3.1","2.3.2","2.3.3","2.3.5","2.3.6","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7","2.4.8","2.4.9","2.4.10","2.5.0","2.5.2","2.5.3","2.5.4","2.5.5","2.6.0","2.6.1","2.6.2","2.7.0-rc.1","2.7.1-rc.1","2.7.2","2.7.3","2.7.4","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.8.7","2.8.8","2.8.9","2.8.10","2.8.11","2.8.12","2.8.13","2.8.14","2.8.15","2.8.16","2.8.17","2.8.18","2.8.19","2.8.20","2.8.21","2.8.22","2.8.23","2.8.24","2.8.25","2.9.0","2.9.1","2.9.2","2.9.3","2.9.4","2.9.5","2.9.6","2.9.7","3.0.0-rc1","3.0.0-rc1-1","3.0.0-rc1-3","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8","3.0.9","3.0.10","3.1.0-0.1.0","3.1.0-0.2.0","3.2.0-rc.1","3.2.0-0.1.0","3.2.0-0.2.0","3.2.0-0.3.0","3.2.0-0.4.0","3.3.0-rc.1","3.3.0-0.1.1","3.3.1-0.1.2","2.9.0-rc1","3.3.1-0.3.0","3.3.1-0.3.1","3.3.1-0.4.1","3.3.1-0.4.2","3.4.0-0.1.0","3.4.0-0.1.1","3.4.0-0.1.2","3.4.0-0.1.3"]
so if i had to install version 0.0.4
I would go with
sudo npm install -g cordova#0.0.4
sudo npm install phonegap#1.5.* -g

Resources