We are returning the following local error when attempting to run "arc" within our terminal

We are returning the following local error when attempting to run “arc” within our terminal. We are using the following guide as a reference to setting up our environment: https://saucelabs.com/resources/articles/appium-bootcamp-chapter-2

This is the current caps within our “appium.txt” file:

[caps]
platformName = "ios"
app = "app_path"
deviceName = "iPhone 5s (9.3)"

This is the output that we are receiving within our terminal:

/Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.53.0/lib/selenium/webdriver/remote/response.rb:70:in `assert_ok': Could not find a device to launch. You requested 'iPhone 6 Plus (4.4)', but the available devices were: ["iPad 2 (9.3) [D71568CB-BDAE-49E8-941D-BAFBBCB01B2F] (Simulator)","iPad Air (9.3) [4BA020A7-ED89-4BB5-9E2F-63838BA252A4] (Simulator)","iPad Air 2 (9.3) [5BACEEA3-FDBA-4540-9727-0E984D4339CD] (Simulator)","iPad Pro (9.3) [F10F7582-E58E-4564-A58D-312012DD1F3C] (Simulator)","iPad Retina (9.3) [73EF5D2B-E519-449D-8D07-CC1786A197E3] (Simulator)","iPhone 4s (9.3) [9CD14920-B34F-41F5-82A6-F5131D61154E] (Simulator)","iPhone 5 (9.3) [C85F36C2-7065-425A-9BBE-C92E2E25081A] (Simulator)","iPhone 5s (9.3) [307025A5-92AB-4B32-BCE3-8E636731F6A4] (Simulator)","iPhone 6 (9.3) [707B0CDA-F95B-430E-BDBA-A8507E997E17] (Simulator)","iPhone 6 Plus (9.3) [3FBDF1F0-6A3A-4B34-8D02-63DBB9BA49C3] (Simulator)","iPhone 6s (9.3) [5AF04C2C-4304-4D22-8E33-C4C420780A28] (Simulator)","iPhone 6s (9.3) + Apple Watch - 38mm (2.2) [56030F3D-3BE6-4903-AE9F-AEDCC467FD90] (Simulator)","iPhone 6s Plus (9.3) [68D5BBA1-55C9-4F34-BE01-513711F64CDC] (Simulator)","iPhone 6s Plus (9.3) + Apple Watch - 42mm (2.2) [F4B2CBDD-54CE-496F-BABA-97886204BB6E] (Simulator)"] (Selenium::WebDriver::Error::SessionNotCreatedError)
	from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.53.0/lib/selenium/webdriver/remote/response.rb:34:in `initialize'
	from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.53.0/lib/selenium/webdriver/remote/http/common.rb:78:in `new'
	from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.53.0/lib/selenium/webdriver/remote/http/common.rb:78:in `create_response'
	from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.53.0/lib/selenium/webdriver/remote/http/default.rb:90:in `request'
	from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.53.0/lib/selenium/webdriver/remote/http/common.rb:59:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/appium_lib-8.0.2/lib/appium_lib/common/patch.rb:118:in `raw_execute'
	from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.53.0/lib/selenium/webdriver/remote/bridge.rb:123:in `create_session'
	from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.53.0/lib/selenium/webdriver/remote/bridge.rb:87:in `initialize'
	from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.53.0/lib/selenium/webdriver/common/driver.rb:59:in `new'
	from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.53.0/lib/selenium/webdriver/common/driver.rb:59:in `for'
	from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.53.0/lib/selenium/webdriver.rb:84:in `for'
	from /Library/Ruby/Gems/2.0.0/gems/appium_lib-8.0.2/lib/appium_lib/driver.rb:479:in `start_driver'
	from /Library/Ruby/Gems/2.0.0/gems/appium_console-2.0.1/lib/start.rb:16:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /Library/Ruby/Gems/2.0.0/gems/pry-0.10.3/lib/pry/pry_class.rb:91:in `block in load_requires'
	from /Library/Ruby/Gems/2.0.0/gems/pry-0.10.3/lib/pry/pry_class.rb:90:in `each'
	from /Library/Ruby/Gems/2.0.0/gems/pry-0.10.3/lib/pry/pry_class.rb:90:in `load_requires'
	from /Library/Ruby/Gems/2.0.0/gems/pry-0.10.3/lib/pry/pry_class.rb:128:in `initial_session_setup'
	from /Library/Ruby/Gems/2.0.0/gems/pry-0.10.3/lib/pry/cli.rb:206:in `block in <top (required)>'
	from /Library/Ruby/Gems/2.0.0/gems/pry-0.10.3/lib/pry/cli.rb:83:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/pry-0.10.3/lib/pry/cli.rb:83:in `block in parse_options'
	from /Library/Ruby/Gems/2.0.0/gems/pry-0.10.3/lib/pry/cli.rb:83:in `each'
	from /Library/Ruby/Gems/2.0.0/gems/pry-0.10.3/lib/pry/cli.rb:83:in `parse_options'
	from /Library/Ruby/Gems/2.0.0/gems/appium_console-2.0.1/lib/appium_console.rb:58:in `start'
	from /Library/Ruby/Gems/2.0.0/gems/appium_console-2.0.1/lib/cli.rb:71:in `init'
	from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
	from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
	from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
	from /Library/Ruby/Gems/2.0.0/gems/appium_console-2.0.1/lib/cli.rb:80:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /Library/Ruby/Gems/2.0.0/gems/appium_console-2.0.1/bin/arc:3:in `<top (required)>'
	from /usr/local/bin/arc:23:in `load'
	from /usr/local/bin/arc:23:in `<main>'

you trying to install build for Real device (.IPA) into Simulator with incorrect Simulator name :slight_smile:

if you need to start with simulator correct name is “iPhone 5s” + you need to generate “.APP” build.

1 Like

@Aleksei Thanks, I updated my caps to the following:

[caps]
platformName = "ios"
app = "/users/evan/documents/apps/uicatalog.app.zip"
deviceName = "iPhone Simulator"

However, I did note that within Xcode I didn’t have the simulator that deviceName = “iPhone Simulator” was requesting. I went ahead and installed the necessary simulator Xcode --> Preferences --> Components and this resolved any further issues.