-
Notifications
You must be signed in to change notification settings - Fork 196
Getting Started with iOS Simulators
Gil Megidish edited this page Apr 4, 2025
·
1 revision
We support iOS Simulators running on MacOS through this MCP. This means that you can control a simulated iOS device, by prompting the agent to do actions on your behalf, like launching the Fitness app.
Before the MCP server can control the iOS Simulator, we need to have WebDriverAgent running on a booted simulator.
-
Launch iOS Simulator on your MacOS, and boot a Simulator.
- Note: as of current version, if MCP detects more than one Simulator, it uses only the first listed.
-
Launch WebDriverAgent on it. Here's what needs to be done:
# close WebDriverAgent if you haven't done so already git clone --depth 1 https://github.com/appium/WebDriverAgent.git cd WebDriverAgent # start wda as an xcuitest, replace 'iPhone 16' with your simulator name xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'platform=iOS Simulator,name=iPhone 16' test
-
Now try the prompt
list simulators
. You should receive a message saying you haveiPhone 16
simulator available for you.
From Mobile Next: We are building the future of mobile development 📱 🚀