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.
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
Article/Weed 2060 (Jane book author)
Original link: http://www.jianshu.com/p/96b453adb6b3
Copyright belongs to the author, please contact the author to obtain authorization, and Mark "book author".
Appium Beginner, use to check Appium environment error could not detect Mac OS X Version from sw_vers output: ' 10.12.1 ',