Free and open source
A camera for the
A camera for the
iOS Simulator.
Your app's camera code runs unmodified in the Simulator, through Apple's own AVFoundation.
npx stuntcam up
Works with
- Native iOS
- React Native
- Expo
- Flutter
Needs
- Apple silicon Mac
- Xcode 27
- iOS 17.5–27.2

9:41
stuntcam.dev
Your app gets
- Live previewFront and back cameras
- PhotosJPEG and HEIC, with EXIF
- Video + audio1080p and 4K, AAC audio
- QR & EAN-13Metadata output and Vision
- Webcam, image or videoOr the built‑in test scene
How it works
iPhonethe real thing
Your app
AVFoundationApple's code
Camera
Yes: Real AVFoundation
stuntcamin the Simulator
Your app
AVFoundationApple's code
stuntcamas the camera
Yes: Same path as iPhone
Most other toolsserve-sim, baguette, Meta idb
Your app
AVFoundationImitation
Webcam or file
No: Imitation
Get started
Install and run
- React Native / Expo
npx stuntcam up, thennpx expo run:ios- Xcode
npx stuntcam up --udid <simulator>with the simulator shut down (ornpx stuntcam up --rebootif it is already booted), then Run (⌘R) in Xcode as usual- Flutter
npx stuntcam up, thenflutter run- Tests & CI
npx stuntcam up --udid $SIM --grant com.example.app, thennpx stuntcam exec -- xcodebuild test -scheme MyApp -destination "platform=iOS Simulator,id=$SIM"- Use your own picture
npx stuntcam source image:/path/photo.png(orvideo:/path/clip.mov)- Show a QR code
npx stuntcam source qr:'https://example.com'- Turn it off
npx stuntcam down(no reboot)- Camera not showing?
npx stuntcam doctor