42 lines
1.1 KiB
Markdown
42 lines
1.1 KiB
Markdown
---
|
|
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`:
|
|
```bash
|
|
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:
|
|
```bash
|
|
xcrun simctl boot 16A71179-729D-4F1B-8698-8371F137025B 2>/dev/null || true
|
|
```
|
|
|
|
3. Open Simulator.app:
|
|
```bash
|
|
open -a Simulator
|
|
```
|
|
|
|
4. Install the built app on the simulator:
|
|
```bash
|
|
xcrun simctl install 16A71179-729D-4F1B-8698-8371F137025B \
|
|
"./DerivedData/Build/Products/Debug-appletvsimulator/jellypig tvOS.app"
|
|
```
|
|
|
|
5. Launch the app:
|
|
```bash
|
|
xcrun simctl launch 16A71179-729D-4F1B-8698-8371F137025B org.ashik.jellypig
|
|
```
|
|
|
|
Report build and launch status. If any step fails, provide clear error message.
|