Appium Beginner, use to check Appium environment error could not detect Mac OS X Version from sw_vers output: ' 10.12.1 ',

Source: Internet
Author: User
Tags appium

This problem exists because Appium is incompatible with the latest version of mac10.12.

Since 10.12 is the latest Mac version, appium1.5.3 does not provide support, so:

In terminal input GREP-RL "Could not detect Mac OS X version from Sw_vers output:"/applications/appium.app/Locate the contained file and modify the version number.

Through the above command can see the following 4 files need to modify the version number, plus ' 10.12 ', some data need to remove the following space, plus trim () function, if you do not enter a space, do not use this function, I do not add this function:

yuancandemacbook-pro:~ yuancan$ grep-rl "Could not detect Mac OS X Version from sw_vers output:"/applications/appium.app /

/applications/appium.app//contents/resources/node_modules/appium/node_modules/appium-support/build/lib/ System.js

/applications/appium.app//contents/resources/node_modules/appium/node_modules/appium-support/lib/system.js

/applications/appium.app//contents/resources/node_modules/appium-support/build/lib/system.js

/applications/appium.app//contents/resources/node_modules/appium-support/lib/system.js

Here's how to modify it:

Http://stackoverflow.com/questions/40129794/how-to-fix-error-could-not-detect-mac-os-x-version-from-sw-vers-output-10-12

To summarize, just enter the command in the terminal, find the location of the file location, and add ' 10.12 ' after the corresponding version number

Appium Beginner, use it to check Appium environment error could not detect Mac OS X Version from sw_vers output: ' 10.12.1 ',

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.