jellyflood/.claude/commands/sim.md

1.1 KiB

description
Build and launch jellypig tvOS in simulator

Build the latest version of jellypig tvOS in Debug configuration, install it on the Apple TV simulator, and launch it.

Steps:

  1. First, build the project using the same approach as /build debug:

    cd /Users/ashikkizhakkepallathu/Documents/claude/jellypig/jellypig
    xcodebuild -project jellypig.xcodeproj \
      -scheme "jellypig tvOS" \
      -sdk appletvsimulator \
      -configuration Debug \
      -derivedDataPath ./DerivedData \
      clean build \
      CODE_SIGNING_ALLOWED=NO
    
  2. Boot the Apple TV simulator:

    xcrun simctl boot 16A71179-729D-4F1B-8698-8371F137025B 2>/dev/null || true
    
  3. Open Simulator.app:

    open -a Simulator
    
  4. Install the built app on the simulator:

    xcrun simctl install 16A71179-729D-4F1B-8698-8371F137025B \
      "./DerivedData/Build/Products/Debug-appletvsimulator/jellypig tvOS.app"
    
  5. Launch the app:

    xcrun simctl launch 16A71179-729D-4F1B-8698-8371F137025B org.ashik.jellypig
    

Report build and launch status. If any step fails, provide clear error message.