Thanks Ben, here you are logs when I run inspector. In short, it says 'You requested 'iPhone 6 (7.1.1) but but the available devices were: iPhone 6 (8.1 Simulator) ). But in appium GUI is no option to set 8.1 as platform vesion, only 7.1.1 is allowed as maximum.
Thanks.
info: Welcome to Appium v1.3.1 (REV 1160ce02bb89c354cb99317985123acf39f0e7d3)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: [debug] Non-default server args: {âappâ:"/Users/gabo/Library/Developer/Xcode/DerivedData/Soonr_4.x-anrsjbirrsjetgclbftcjlsqrdqe/Build/Products/Debug-iphonesimulator/Soonr.app",âlogNoColorsâ:true,âdeviceNameâ:âiPhone 6â,âplatformVersionâ:â8.0â,âshowSimulatorLogâ:true,âdefaultCommandTimeoutâ:7200}
warn: Deprecated server args: {"âshow-sim-log":âuse instead: --show-ios-logâ}
info: Console LogLevel: debug
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {âstatusâ:0,âvalueâ:{âbuildâ:{âversionâ:â1.3.1â,ârevisionâ:â1160ce02bb89c354cb99317985123acf39f0e7d3â}}}
info: <-- GET /wd/hub/status 200 7.003 ms - 104 {âstatusâ:0,âvalueâ:{âbuildâ:{âversionâ:â1.3.1â,ârevisionâ:â1160ce02bb89c354cb99317985123acf39f0e7d3â}}}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {âstatusâ:0,âvalueâ:{âbuildâ:{âversionâ:â1.3.1â,ârevisionâ:â1160ce02bb89c354cb99317985123acf39f0e7d3â}}}
info: <-- GET /wd/hub/status 200 2.590 ms - 104 {âstatusâ:0,âvalueâ:{âbuildâ:{âversionâ:â1.3.1â,ârevisionâ:â1160ce02bb89c354cb99317985123acf39f0e7d3â}}}
info: --> GET /wd/hub/sessions {}
info: [debug] Responding to client with success: {âstatusâ:0,âvalueâ:[]}
info: <-- GET /wd/hub/sessions 200 1.140 ms - 23 {âstatusâ:0,âvalueâ:[]}
info: --> POST /wd/hub/session {âdesiredCapabilitiesâ:{âplatformNameâ:âiOSâ,âplatformVersionâ:â7.1.1â,ânewCommandTimeoutâ:â999999â,âautomationNameâ:âAppiumâ,âdeviceNameâ:âiPhone 6â}}
info: Client User-Agent string: Appium (unknown version) CFNetwork/720.0.9 Darwin/14.0.0 (x86_64)
info: [debug] Using local app from command line: /Users/gabo/Library/Developer/Xcode/DerivedData/Soonr_4.x-anrsjbirrsjetgclbftcjlsqrdqe/Build/Products/Debug-iphonesimulator/Soonr.app
info: [debug] Creating new appium session c9b1a374-8286-40fa-a96b-b72cc9e8c835
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Setting Xcode folder
info: [debug] Setting Xcode version
info: [debug] Setting iOS SDK Version
info: [debug] Getting sdk version from xcrun with a timeout
info: [debug] iOS SDK Version set to 8.1
info: [debug] Checking whether instruments supports our device string
info: [debug] Getting list of devices instruments supports
info: [debug] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments
info: [debug] Getting device string from opts: {âforceIphoneâ:false,âforceIpadâ:false,âxcodeVersionâ:â6.1â,âiOSSDKVersionâ:â8.1â,âdeviceNameâ:âiPhone 6â,âplatformVersionâ:â7.1.1â}
info: [debug] fixDevice is on
info: [debug] Final device string is: âiPhone 6 (7.1.1 Simulator)â
info: [debug] Cleaning up appium session
info: [debug] Error: Could not find a device to launch. You requested âiPhone 6 (7.1.1 Simulator)â, but the available devices were: [âiPad 2 (8.1 Simulator) [12647AD6-B671-48F1-B4F5-B3C04F9E11AD]â,âiPad Air (8.1 Simulator) [18625DE4-D2B3-4096-96FD-23006720A8FB]â,âiPad Retina (8.1 Simulator) [1A483357-2B11-4E91-B231-EBD26E266C24]â,âiPhone 4s (8.1 Simulator) [75A22BE0-0C06-4B0D-97AB-DA6618D3FA4F]â,âiPhone 5 (8.1 Simulator) [C0AA626C-8F5A-4EF1-B67F-2346E7761C72]â,âiPhone 5s (8.1 Simulator) [FD2F0B43-460A-4794-95AB-21E8E4955E4C]â,âiPhone 6 (8.1 Simulator) [CD302E1C-813A-457D-96CD-879F533D2070]â,âiPhone 6 Plus (8.1 Simulator) [2642FCB9-FEB4-464B-BEA5-1B5320AAFBEB]â]
at noDevicesError (/Users/gabo/Downloads/Appium.app/Contents/Resources/node_modules/appium/lib/devices/ios/ios.js:1086:10)
at null. (/Users/gabo/Downloads/Appium.app/Contents/Resources/node_modules/appium/lib/devices/ios/ios.js:1092:16)
at /Users/gabo/Downloads/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:525:46
at /Users/gabo/Downloads/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:254:17
at /Users/gabo/Downloads/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:151:21
at /Users/gabo/Downloads/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:251:21
at /Users/gabo/Downloads/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:615:34
at /Users/gabo/Downloads/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:516:25
at /Users/gabo/Downloads/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/lib/instruments.js:111:7
at ChildProcess.exithandler (child_process.js:646:7)
info: [debug] Responding to client with error: {âstatusâ:33,âvalueâ:{âmessageâ:âA new session could not be created. (Original error: Could not find a device to launch. You requested âiPhone 6 (7.1.1 Simulator)â, but the available devices were: [âiPad 2 (8.1 Simulator) [12647AD6-B671-48F1-B4F5-B3C04F9E11AD]â,âiPad Air (8.1 Simulator) [18625DE4-D2B3-4096-96FD-23006720A8FB]â,âiPad Retina (8.1 Simulator) [1A483357-2B11-4E91-B231-EBD26E266C24]â,âiPhone 4s (8.1 Simulator) [75A22BE0-0C06-4B0D-97AB-DA6618D3FA4F]â,âiPhone 5 (8.1 Simulator) [C0AA626C-8F5A-4EF1-B67F-2346E7761C72]â,âiPhone 5s (8.1 Simulator) [FD2F0B43-460A-4794-95AB-21E8E4955E4C]â,âiPhone 6 (8.1 Simulator) [CD302E1C-813A-457D-96CD-879F533D2070]â,âiPhone 6 Plus (8.1 Simulator) [2642FCB9-FEB4-464B-BEA5-1B5320AAFBEB]â])â,âorigValueâ:âCould not find a device to launch. You requested âiPhone 6 (7.1.1 Simulator)â, but the available devices were: [âiPad 2 (8.1 Simulator) [12647AD6-B671-48F1-B4F5-B3C04F9E11AD]â,âiPad Air (8.1 Simulator) [18625DE4-D2B3-4096-96FD-23006720A8FB]â,âiPad Retina (8.1 Simulator) [1A483357-2B11-4E91-B231-EBD26E266C24]â,âiPhone 4s (8.1 Simulator) [75A22BE0-0C06-4B0D-97AB-DA6618D3FA4F]â,âiPhone 5 (8.1 Simulator) [C0AA626C-8F5A-4EF1-B67F-2346E7761C72]â,âiPhone 5s (8.1 Simulator) [FD2F0B43-460A-4794-95AB-21E8E4955E4C]â,âiPhone 6 (8.1 Simulator) [CD302E1C-813A-457D-96CD-879F533D2070]â,âiPhone 6 Plus (8.1 Simulator) [2642FCB9-FEB4-464B-BEA5-1B5320AAFBEB]â]â},âsessionIdâ:null}
info: <-- POST /wd/hub/session 500 939.240 ms - 1450
error: Could not find a device to launch. You requested âiPhone 6 (7.1.1 Simulator)â, but the available devices were: [âiPad 2 (8.1 Simulator) [12647AD6-B671-48F1-B4F5-B3C04F9E11AD]â,âiPad Air (8.1 Simulator) [18625DE4-D2B3-4096-96FD-23006720A8FB]â,âiPad Retina (8.1 Simulator) [1A483357-2B11-4E91-B231-EBD26E266C24]â,âiPhone 4s (8.1 Simulator) [75A22BE0-0C06-4B0D-97AB-DA6618D3FA4F]â,âiPhone 5 (8.1 Simulator) [C0AA626C-8F5A-4EF1-B67F-2346E7761C72]â,âiPhone 5s (8.1 Simulator) [FD2F0B43-460A-4794-95AB-21E8E4955E4C]â,âiPhone 6 (8.1 Simulator) [CD302E1C-813A-457D-96CD-879F533D2070]â,âiPhone 6 Plus (8.1 Simulator) [2642FCB9-FEB4-464B-BEA5-1B5320AAFBEB]â]
error: Failed to start an Appium session, err was: Error: Could not find a device to launch. You requested âiPhone 6 (7.1.1 Simulator)â, but the available devices were: [âiPad 2 (8.1 Simulator) [12647AD6-B671-48F1-B4F5-B3C04F9E11AD]â,âiPad Air (8.1 Simulator) [18625DE4-D2B3-4096-96FD-23006720A8FB]â,âiPad Retina (8.1 Simulator) [1A483357-2B11-4E91-B231-EBD26E266C24]â,âiPhone 4s (8.1 Simulator) [75A22BE0-0C06-4B0D-97AB-DA6618D3FA4F]â,âiPhone 5 (8.1 Simulator) [C0AA626C-8F5A-4EF1-B67F-2346E7761C72]â,âiPhone 5s (8.1 Simulator) [FD2F0B43-460A-4794-95AB-21E8E4955E4C]â,âiPhone 6 (8.1 Simulator) [CD302E1C-813A-457D-96CD-879F533D2070]â,âiPhone 6 Plus (8.1 Simulator) [2642FCB9-FEB4-464B-BEA5-1B5320AAFBEB]â]
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {âstatusâ:0,âvalueâ:{âbuildâ:{âversionâ:â1.3.1â,ârevisionâ:â1160ce02bb89c354cb99317985123acf39f0e7d3â}}}
info: <-- GET /wd/hub/status 200 1.966 ms - 104 {âstatusâ:0,âvalueâ:{âbuildâ:{âversionâ:â1.3.1â,ârevisionâ:â1160ce02bb89c354cb99317985123acf39f0e7d3â}}}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {âstatusâ:0,âvalueâ:{âbuildâ:{âversionâ:â1.3.1â,ârevisionâ:â1160ce02bb89c354cb99317985123acf39f0e7d3â}}}
info: <-- GET /wd/hub/status 200 1.874 ms - 104 {âstatusâ:0,âvalueâ:{âbuildâ:{âversionâ:â1.3.1â,ârevisionâ:â1160ce02bb89c354cb99317985123acf39f0e7d3â}}}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {âstatusâ:0,âvalueâ:{âbuildâ:{âversionâ:â1.3.1â,ârevisionâ:â1160ce02bb89c354cb99317985123acf39f0e7d3â}}}
info: <-- GET /wd/hub/status 200 2.051 ms - 104 {âstatusâ:0,âvalueâ:{âbuildâ:{âversionâ:â1.3.1â,ârevisionâ:â1160ce02bb89c354cb99317985123acf39f0e7d3â}}}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {âstatusâ:0,âvalueâ:{âbuildâ:{âversionâ:â1.3.1â,ârevisionâ:â1160ce02bb89c354cb99317985123acf39f0e7d3â}}}
info: <-- GET /wd/hub/status 200 1.686 ms - 104 {âstatusâ:0,âvalueâ:{âbuildâ:{âversionâ:â1.3.1â,ârevisionâ:â1160ce02bb89c354cb99317985123acf39f0e7d3â}}}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {âstatusâ:0,âvalueâ:{âbuildâ:{âversionâ:â1.3.1â,ârevisionâ:â1160ce02bb89c354cb99317985123acf39f0e7d3â}}}
info: <-- GET /wd/hub/status 200 2.484 ms - 104 {âstatusâ:0,âvalueâ:{âbuildâ:{âversionâ:â1.3.1â,ârevisionâ:â1160ce02bb89c354cb99317985123acf39f0e7d3â}}}