[solved]Failed to start an Appium session, err was: Error: Could not find a device

error: Failed to start an Appium session, err was: Error: Could not find a device to launch. You requested ‘iPad 2 (194685A1-FE6D-4034-9C97-80995D298B05) (8.1 Simulator)’, but the available devices were: [“iPad 2 (8.1 Simulator) [194685A1-FE6D-4034-9C97-80995D298B05]”]

this error appears when i try to use inspector

Please check this similar issue to see if it solves

yes it solves my problem too
thank you