To setup ios simulator for Appium, you need to have MacOS system and xcode.
Download xcode
Download from here
xcode will have all the iPhone models as simulators along with iPads.
You can download / install specific iOS versions from the Xcode > Preferences
When you open the xcode, this will prompt to install necessary xcode cli components, which will help to run appium ios tests.
else, you can run below command to run CLI components explicitly
xcode-select --install
Carthage install –
[For lower than Appium 1.20.0] – Please install Carthage.
Visit https://github.com/Carthage/Carthage#installing-carthage
Get iOS simulator model name launched –
xcrun simctl list | egrep '(Booted)'
this will list the current ios device or simulator that is active or booted.
Run below command to make sure no other dependencies are left for ios –
appium-doctor --ios
You should see detailed info on explaining other dependencies needed to run appium tests for IOS.
Hi there,
Thanks again for your videos. I’m having an issue with ios simulator/appium. The server starts on dfault port 4723, the app is added to the sim, and so is the webdriver agent. However then I start getting a conncet refuse 127.0.0.1:8100, I thinnk the webdriveragent is loaded on that, but not sure. Have you seen that problem before?