Skip to content

Instantly share code, notes, and snippets.

@nativescript-oss
nativescript-oss / README.md
Created September 29, 2026 14:29
ns-bitrig: run the NativeScript CLI against Bitrig's iOS simulators

ns-bitrig: NativeScript on Bitrig's simulators

Bitrig hosts its iOS simulators in its own device set (~/Library/Bitrig/Simulators); the NativeScript CLI only looks at Apple's default set, so ns run ios does not see them. ns-bitrig.sh runs the unmodified CLI with three process-local shims:

  • xcrun simctl … becomes xcrun simctl --set ~/Library/Bitrig/Simulators …;
  • open Simulator.app is skipped while Bitrig shows a booted device;
  • the CLI's installed-app lookup, which reads Apple's default simulator