SimCam Lite

SimCam Lite 0.2.5 · Open source · MIT

A real camera for the iOS Simulator.

Stream a photo, looping 4K video, QR code, or your Mac’s webcam into any Simulator app—with zero changes to your app’s code.

brew install --cask huyhunhngc/tap/simcam-lite
  • Up to 4K video
  • 30 & 60 fps
  • Independent back & front
  • Zero SDK
SimCam Lite macOS app streaming a video feed into a camera app running on the iOS Simulator

Keep your app code untouched

Injects via DYLD_INSERT_LIBRARIES and emulates AVFoundation directly. No #if targetEnvironment(simulator) hacks, no wrapper SDKs, no dependencies.

Free and MIT licensed

No per-seat commercial licenses or paywalls. Built for solo developers, QA engineers, designers, and CI runners.

Xcode debugger and CI ready

Set up an Xcode project once to keep using the Run button and LLDB breakpoints, or drive every source and permission preset from simcam.

Everything your camera screen needs.

Built for fast iteration in SwiftUI, UIKit, AVFoundation, and Vision without reaching for a physical iPhone.

Any source becomes the camera

Feed a still photo, a looping video up to 4K, a generated QR code (remembers your 8 most recent codes and pre-fills from clipboard), your Mac’s live webcam, or a built-in test pattern.

Includes: Photos, 4K video loop, QR generator, Mac webcam, drag & drop.

Independent Back & Front cameras

Assign separate sources to the back and front cameras—or toggle “Same as back” to mirror one feed. Adjust fill vs. fit, rotate in 90° steps, mirror, and pause video on any frame.

Includes: Same as back, fit/fill, 90° rotation, mirror, frame-exact pause.

Realistic iPhone camera profiles

Emulate Triple (0.5× · 1× · 3×), Dual Wide, or Single camera devices at 30 or 60 fps. Video frames, still photo captures, preview layers, and device rotation follow real hardware.

Includes: Triple, Dual Wide, Single profiles, 30/60 fps, rotation coordinator.

Permissions & audio edge cases

Switch between Ask and Allow modes, or jump to 5 deterministic TCC presets to test onboarding and denied states. Streams 48 kHz mono 16-bit PCM audio via AVCaptureAudioDataOutput.

Includes: fresh, camera-denied, mic-not-asked, mic-denied, allowed, 48 kHz PCM.

Simulator manager, Xcode setup, and menu bar streaming

Turn injection on for every app on a simulator (automatically restored when that simulator reboots), enable Inject into Every Simulator as devices boot, or launch a single app directly.

  • Run from Xcode: One-click scheme setup preserves LLDB breakpoints and skips macOS/Catalyst targets safely.
  • Connected Apps Telemetry: Inspect active PIDs, camera in use, resolution, streamed frames, and captured photo counts.
  • Menu Bar & Sparkle Updates: Keep streaming in the background and receive signed automatic updates with release notes.
Explore Simulator & Xcode setup →
SimCam Lite Simulator manager and Settings views showing per-simulator injection toggles, app launcher, and CLI setup

Scriptable from Terminal, CI, and AI agents.

Every control in SimCam Lite has a matching simcam command. Both the macOS window and Terminal talk to the same state over a local Unix socket—so UI tests, CI scripts, and AI coding agents always get reproducible frames.

  • 18 subcommands covering sources, adjustments, simulators, permissions, and Xcode schemes.
  • JSON output via --json on status, cameras, devices, and apps.
  • Zsh completion built in: simcam --generate-completion-script zsh.
Explore CLI Reference →
# Use a still photo or looping 4K video as the back camera
simcam source ~/Pictures/receipt.jpg

# Generate and stream a QR code from any link or payload
simcam source qr "https://simcamlite.ifateam.dev"

# Use your Mac's FaceTime camera for the front camera
simcam source --front camera --device "FaceTime"

# Fit, rotate, mirror, or pause a video on an exact frame
simcam adjust --fit --rotate 90 --mirror
simcam pause

Free forever. Install in seconds.

MIT licensed open source. Requires macOS 14.0 (Sonoma) or newer and Xcode with an iOS Simulator runtime.

Signed & Notarized DMG

Direct Download

Download SimCamLite-0.2.5.dmg, drag to Applications, and open it. Includes one-click CLI PATH installation inside Settings.

Download v0.2.5 DMG
For Contributors

From Source

Requires Xcode 26+, XcodeGen, and your team ID in Config/Environment.xcconfig.

brew install xcodegen
git clone https://github.com/huyhunhngc/SimCamLite.git
cd SimCamLite && scripts/build.sh Debug
Read build guide →

Frequently asked questions

Answers to the most common questions. Looking for low-level internals? Read the architecture docs →

Do I need to modify my app’s code or add an SDK?

No. SimCam Lite never touches your app’s source code or dependencies. It injects a small loader via DYLD_INSERT_LIBRARIES that loads SimCamLiteInject.framework into Simulator user apps and emulates AVFoundation.

Does it work when I press Run in Xcode with the debugger attached?

Yes. Because Xcode sets its own DYLD_INSERT_LIBRARIES (for Main Thread Checker and diagnostics), open “Run from Xcode” in SimCam Lite—or run `simcam xcode setup`—once per project. Committing the shared scheme change is safe: Macs without SimCam Lite ignore the missing dylib.

Which macOS and iOS Simulator versions are supported?

SimCam Lite requires macOS 14.0 (Sonoma) or newer and Xcode with an iOS Simulator runtime (targeting iOS 16.0+ simulator apps).

Can I test QR code scanning and third-party camera libraries?

Yes—any app or library reading frames from AVCaptureVideoDataOutput, AVCapturePhotoOutput, or AVCaptureVideoPreviewLayer (including Vision, VisionKit data scanners on video frames, React Native, and Flutter camera plugins) receives the live feed. Note that AVFoundation’s built-in AVCaptureMetadataOutput QR detection is not emulated yet.

What features are currently not supported?

SimCam Lite does not yet support movie file recording (AVCaptureMovieFileOutput), built-in AVCaptureMetadataOutput detection, or multi-camera sessions (AVCaptureMultiCamSession). Audio input via AVCaptureAudioDataOutput (48 kHz mono 16-bit PCM) is supported.

Is SimCam Lite really free for teams and CI?

Yes. SimCam Lite is 100% free and MIT-licensed open source. There are no seat limits, watermarks, or commercial CI add-ons.

Search SimCam Lite documentation

Type to search documentation...