Questions:use Apppium1.6 to start ios9.3 error original ERROR:SDK ' 9.3.5 ' is not in list of Simctl SDKs My startup configuration is as follows{
"PlatformName": "ios",
" platformversion": "9.3.5",
" Bundleid": "Com.wuba.zhuanzhuan",
" App": "/users/a58/library/developer/xcode/deriveddata/build/products/debug-iphoneos/zhuanzhuan.app"," devicename": "IPhone 5s"," automationname": "Xcuitest "} The detailed error log is as follows:
[Appium] CreatingNewXcuitestdriver (v2.30.0) Session[appium] capabilities:[appium] App:'/users/a58/library/developer/xcode/deriveddata/build/products/debug-iphoneos/zhuanzhuan.app '[Appium] Automationname:' Xcuitest '[Appium] Bundleid:' Com.wuba.zhuanzhuan '[Appium] devicename:' Zhuanzhuan (9.3.5) '[Appium] PlatformName:' iOS '[Appium] platformversion:' 9.3.5 '[Appium] Newcommandtimeout:0[Appium] Connecthardwarekeyboard:true[Xcuitest] xcuitestdriver version:2.30.0[Basedriver] Session created withSession id:f068f200-be55-4b67-a551-2a79a1ab638a[xcuitest] Xcode version set to' 8.3.3 '[xcuitest] IOS SDK Version set to' 10.3 '[Basedriver] Event' xcodedetailsretrieved ' logged at 1502536297412 (19:11:37 gmt+0800(CST)) [Xcuitest] ERROR:SDK' 9.3.5 ' is notinch List of Simctl SDKs at getdevices$ (/applications/appium.app/contents/resources/app/node_modules/appium/node_modules /NODE-SIMCTL/LIB/SIMCTL.JS:230:13) at TryCatch (/applications/appium.app/contents/resources/app/node_modules/ APPIUM/NODE_MODULES/BABEL-RUNTIME/REGENERATOR/RUNTIME.JS:67:40) at Generatorfunctionprototype.invoke [as _invoke] ( /applications/appium.app/contents/resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/ runtime.js:315:22) at Generatorfunctionprototype.prototype. (anonymous function) [As Next] (/applications/appium.app/contents/resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/ runtime.js:100:21) at Generatorfunctionprototype.invoke (/applications/appium.app/contents/resources/app/node_ modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) at Process._tickcallback (internal/ Process/next_tick.js:103:7) error:sdk ' 9.3.5 ' is not in the list of Simctl SDKs at getdevices$ (/applications/appium.app/con Tents/resourceS/APP/NODE_MODULES/APPIUM/NODE_MODULES/NODE-SIMCTL/LIB/SIMCTL.JS:230:13) at TryCatch (/applications/appium.app/ CONTENTS/RESOURCES/APP/NODE_MODULES/APPIUM/NODE_MODULES/BABEL-RUNTIME/REGENERATOR/RUNTIME.JS:67:40) at Generatorfunctionprototype.invoke [as _invoke] (/applications/appium.app/contents/resources/app/node_modules/ appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) at Generatorfunctionprototype.prototype. (Anonymousfunction) [As Next] (/applications/appium.app/contents/resources/app/node_modules/appium/node_modules/babel-runtime/ regenerator/runtime.js:100:21) at Generatorfunctionprototype.invoke (/applications/appium.app/contents/resources/ app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) at Process._tickCallback ( Internal/process/next_tick.js:103:7) [xcuitest] not clearing log files. Use ' clearsystemfiles ' capability-turn on. [MJSONWP] Encountered internal error running COMMAND:ERROR:SDK' 9.3.5 ' is notinchList of Simctl SDKs at getdevices$ (/applications/appium.app/contents/resources/app/node_modules/appium/node_modules /NODE-SIMCTL/LIB/SIMCTL.JS:230:13) at TryCatch (/applications/appium.app/contents/resources/app/node_modules/ APPIUM/NODE_MODULES/BABEL-RUNTIME/REGENERATOR/RUNTIME.JS:67:40) at Generatorfunctionprototype.invoke [as _invoke] ( /applications/appium.app/contents/resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/ runtime.js:315:22) at Generatorfunctionprototype.prototype. (anonymous function) [As Next] (/applications/appium.app/contents/resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/ runtime.js:100:21) at Generatorfunctionprototype.invoke (/applications/appium.app/contents/resources/app/node_ modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) at Process._tickcallback (internal/ PROCESS/NEXT_TICK.JS:103:7)
Workaround:change "platformversion": "9.3.5" to 9.3, because 9.3.5 does not exist, so even if my iOS system is really 9.3.5, write 9.3 as well .
Appium1.6 start ios9.3 Error original ERROR:SDK ' 9.3.5 ' is not in list of Simctl SDKs