Error while executing command: Locator Strategy \'css selector\' is not supported for this session

appium version - Both in 1.9.1 & 1.10.1

[HTTP] --> POST /wd/hub/session/0f7119fc-fee0-4f12-8b4c-0603c09d33f0/element
[HTTP] {“value”:"[id=‘Settings’]",“using”:“css selector”}
[debug] [W3C] Calling AppiumDriver.findElement() with args: [“css selector”,"[id=‘Settings’]",“0f7119fc-fee0-4f12-8b4c-0603c09d33f0”]
[debug] [XCUITest] Executing command ‘findElement’
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id
[debug] [W3C] Encountered internal error running command: InvalidSelectorError: Locator Strategy ‘css selector’ is not supported for this session
[debug] [W3C] at XCUITestDriver.validateLocatorStrategy (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/driver.js:349:13)
[debug] [W3C] at XCUITestDriver.validateLocatorStrategy (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:111:21)
[debug] [W3C] at XCUITestDriver.callee$0$0$ (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/commands/find.js:26:8)
[debug] [W3C] at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
[debug] [W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
[debug] [W3C] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
[debug] [W3C] at invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[debug] [W3C] at enqueueResult (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:185:17)
[debug] [W3C] at new Promise ()
[debug] [W3C] at new F (/usr/local/lib/node_modules/appium/node_modules/core-js/library/modules/$.export.js:30:36)
[debug] [W3C] at AsyncIterator.enqueue (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:184:12)
[debug] [W3C] at AsyncIterator.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
[debug] [W3C] at Object.runtime.async (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:209:12)
[debug] [W3C] at XCUITestDriver.callee$0$0 [as findElOrElsWithProcessing] (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/build/lib/basedriver/commands/find.js:47:30)
[debug] [W3C] at XCUITestDriver.callee$0$0$ (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/commands/find.js:46:21)
[debug] [W3C] at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
[debug] [W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
[debug] [W3C] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
[debug] [W3C] at invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[debug] [W3C] at enqueueResult (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:185:17)
[debug] [W3C] at new Promise ()
[debug] [W3C] at new F (/usr/local/lib/node_modules/appium/node_modules/core-js/library/modules/$.export.js:30:36)
[debug] [W3C] at AsyncIterator.enqueue (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:184:12)
[debug] [W3C] at AsyncIterator.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
[debug] [W3C] at Object.runtime.async (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:209:12)
[debug] [W3C] at XCUITestDriver.callee$0$0 [as findElement] (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/build/lib/basedriver/commands/find.js:88:30)
[debug] [W3C] at /usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/driver.js:296:26
[debug] [W3C] at tryCatcher (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/util.js:26:23)
[debug] [W3C] at Promise._settlePromiseFromHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/promise.js:510:31)
[debug] [W3C] at Promise._settlePromiseAt (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/promise.js:584:18)
[debug] [W3C] at Promise._settlePromiseAtPostResolution (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/promise.js:248:10)
[debug] [W3C] at Async._drainQueue (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/async.js:128:12)
[debug] [W3C] at Async._drainQueues (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/async.js:133:10)
[debug] [W3C] at Immediate.Async.drainQueues (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/async.js:15:14)
[debug] [W3C] at runCallback (timers.js:705:18)
[debug] [W3C] at tryOnImmediate (timers.js:676:5)
[debug] [W3C] at processImmediate (timers.js:658:5)
[HTTP] <-- POST /wd/hub/session/0f7119fc-fee0-4f12-8b4c-0603c09d33f0/element 400 12 ms - 4797
[HTTP]
[HTTP] --> DELETE /wd/hub/session/0f7119fc-fee0-4f12-8b4c-0603c09d33f0
[HTTP] {}
[debug] [W3C] Calling AppiumDriver.deleteSession() with args: [“0f7119fc-fee0-4f12-8b4c-0603c09d33f0”]
[debug] [BaseDriver] Event ‘quitSessionRequested’ logged at 1548940933336 (18:52:13 GMT+0530 (India Standard Time))
[Appium] Removing session 0f7119fc-fee0-4f12-8b4c-0603c09d33f0 from our master session list
[debug] [JSONWP Proxy] Matched ‘/session/0f7119fc-fee0-4f12-8b4c-0603c09d33f0’ to command name ‘deleteSession’
[debug] [JSONWP Proxy] Proxying [DELETE /session/0f7119fc-fee0-4f12-8b4c-0603c09d33f0] to [DELETE http://localhost:8100/session/A4C90CDF-93B5-425E-A1DC-26BBD8ED8815] with no body
[debug] [JSONWP Proxy] Got response with status 200: “{\n “value” : {\n\n },\n “sessionId” : “EB79672B-DA82-475A-8A43-568BB24C9EFA”,\n “status” : 0\n}”
[debug] [XCUITest] Started background XCTest logs cleanup: find -E /private/var/folders -regex ‘./Session-WebDriverAgentRunner..log$|.*/StandardOutputAndStandardError.txt$’ -type f -exec sh -c ‘echo “” > “{}”’ ;
[XCUITest] Cleaning test logs in ‘/Users/movius/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs’ folder
[debug] [iOS] Clearing log files
[debug] [iOS] Deleting ‘/Users/movius/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs’. Freeing 76K.
[debug] [iOS] Finished clearing log files
[debug] [iOSLog] Stopping iOS log capture
[debug] [BaseDriver] Event ‘quitSessionFinished’ logged at 1548940934730 (18:52:14 GMT+0530 (India Standard Time))
[debug] [W3C] Received response: null
[debug] [W3C] But deleting session, so not returning
[debug] [W3C] Responding to client with driver.deleteSession() result: null

@VKavitha add your code pls