Skip to content

Instantly share code, notes, and snippets.

@mbernson
Created December 2, 2024 12:56
Show Gist options
  • Save mbernson/13fe69f5daf34d41c4500f40e2f5fa50 to your computer and use it in GitHub Desktop.
Save mbernson/13fe69f5daf34d41c4500f40e2f5fa50 to your computer and use it in GitHub Desktop.
Create a custom iOS simulator on the command line
SIMULATOR_NAME="Custom Simulator"
DEVICE_ID="com.apple.CoreSimulator.SimDeviceType.iPhone-15"
RUNTIME_ID="com.apple.CoreSimulator.SimRuntime.iOS-17-2"
xcrun simctl create "$SIMULATOR_NAME" "$DEVICE_ID" "$RUNTIME_ID"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment