To setup ios simulator for Appium, you need to have MacOS system and 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
Carthage install –
[For lower than Appium 1.20.0] – Please install 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 –
You should see detailed info on explaining other dependencies needed to run appium tests for IOS.