Skip to content

darwin: add stable Xcode and iOS simulator shell - #65

Merged
moons-14 merged 2 commits into
mainfrom
codex/xcode-ios-simulator
Aug 14, 2026
Merged

darwin: add stable Xcode and iOS simulator shell#65
moons-14 merged 2 commits into
mainfrom
codex/xcode-ios-simulator

Conversation

@moons-14

Copy link
Copy Markdown
Owner

Summary

  • add applications.xcode and install stable Xcode from the Mac App Store on Darwin
  • include Xcode in workload.development, so the existing m2 host selects it without host-local configuration
  • add devShells.ios with an ios-simulator-install command
  • make the installer select /Applications/Xcode.app, run Xcode first-launch setup, check newer components, and download the latest stable iOS Simulator runtime

Usage

After applying the Darwin configuration and signing in to the Mac App Store:

nix develop .#ios -c ios-simulator-install

This keeps Xcode installation declarative while leaving Apple's mutable simulator/runtime state to xcodebuild.

Validation

  • reviewed repository ownership/Registry rules and the application/service review checklist
  • matched the existing shells/android.nix dev-shell pattern
  • reviewed the complete task diff before opening this PR
  • local execution environment does not provide Nix or macOS/Xcode, so nix flake check, Darwin evaluation/build, and the runtime download command could not be executed here

Manual verification on m2

nix eval --json .#darwinConfigurations.m2.config.homebrew.masApps
nix develop .#ios -c ios-simulator-install
xcrun simctl list runtimes
open -a Simulator

@moons-14
moons-14 merged commit c7627fa into main Aug 14, 2026
1 check failed
@moons-14
moons-14 deleted the codex/xcode-ios-simulator branch August 14, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant