17 lines
994 B
Markdown
17 lines
994 B
Markdown
|
|
---
|
||
|
|
name: run
|
||
|
|
description: Build the DisklavierLink macOS app with xcodebuild and open it so the developer can see changes live. Use when asked to run, launch, or test the app visually.
|
||
|
|
---
|
||
|
|
|
||
|
|
Build and launch the DisklavierLink macOS app:
|
||
|
|
|
||
|
|
1. Run `xcodebuild -project DisklavierLink.xcodeproj -scheme DisklavierLink -configuration Debug build` from the project root. Capture stdout and stderr.
|
||
|
|
|
||
|
|
2. If the build fails, show the relevant error lines (not the full log — filter for `error:` lines) and stop. Do not try to open a non-existent binary.
|
||
|
|
|
||
|
|
3. If the build succeeds, find the built app. The output path is typically inside `~/Library/Developer/Xcode/DerivedData/DisklavierLink-*/Build/Products/Debug/DisklavierLink.app`. Use `find ~/Library/Developer/Xcode/DerivedData -name "DisklavierLink.app" -maxdepth 6` if needed.
|
||
|
|
|
||
|
|
4. Open it with `open <path-to-DisklavierLink.app>`.
|
||
|
|
|
||
|
|
5. Report whether the app launched successfully. Note any build warnings that look relevant to recent changes.
|