本文へ移動
cccskills
無料GitHub で公開

source-command-ios-run

Build, deploy and start the iOS app on a connected iPhone or in the simulator. Use proactively when user asks to test, run, or deploy iOS changes.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

source-command-ios-run

Use this skill when the user asks to run the migrated source command ios-run.

Command Template

iOS Run

Build, deploy, and start the ActualChat (Voxt) iOS app on a connected device, or in the iOS simulator with --simulator.

Prerequisites

  • Device: a physical iOS device, trusted and paired with this Mac, and a valid provisioning profile for the app
  • Simulator: an iOS simulator runtime installed in Xcode - no pairing or profile needed
  • Xcode command line tools installed (xcode-select --install)

Usage

Run ./b.cmd app run ios, which executes scripts/run-ios.sh:

  1. Resolves the target: detects the connected device, or with --simulator uses the booted simulator (boots the newest available iPhone one if none is) and installs the local root CA certificate into it
  2. Builds the JS bundle (npm run build:Debug; npm ci first only when the packages aren't installed)
  3. Clears the shared intermediates folder artifacts/out if the previous build was for the other target
  4. Builds the iOS app (net11.0-ios target, ios-arm64 or iossimulator-<arch>)
  5. Installs it (devicectl on a device, simctl in a simulator)
  6. Launches it with the console attached

Command

./b.cmd app run ios                # connected device
./b.cmd app run ios --simulator    # iOS simulator

./b.cmd app build ios stops after the build and ./b.cmd app install ios after the install; neither needs the app to start. Every other option is in /b.

Note: The command runs until the app exits, so start it in the background. The console output shows the app's logs in real time. Stopping the command terminates the app - on a device too.

Only the Debug dev app (chat.actual.dev.app) can be run this way: --release, --aot and --prod are rejected. A Release iOS build is the store package - ./b.cmd app pack ios.

Output

The command outputs:

  • Device detection info, or which simulator is used
  • Build progress and warnings
  • Signing identity details
  • Install and launch confirmation
  • Live console logs from the app (prefixed with timestamps)

Troubleshooting

If the command fails:

  • Ensure the device is connected and trusted
  • Check that the provisioning profile is valid in the Apple Developer portal
  • Verify Xcode command line tools are installed (xcode-select --install)
  • A full rebuild after switching between device and simulator is expected: their objects don't link into each other, so the switch clears artifacts/out. If a build still fails with building for 'iOS-simulator', but linking in object file, delete artifacts/out and rerun
  • Fixing corrupted library: ... lines in a simulator build are a workaround doing its job, not an error
  • The app dies about a second after launch in a fresh worktree (invalid GOOGLE_APP_ID): the committed GoogleService-Info.plist.* are placeholders - copy the real ones from another worktree and run sh ./git-prevent-tracking.cmd
  • JSException loops like "x is not a function" after a rebase: the shipped wwwroot/dist is stale - rerun without --no-web, and run npm ci first if package-lock.json changed

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Delete the `-bak` backup branches that `/prepare-merge` leaves behind, local and on origin, once the work they back up has merged. Use when the user says "remove my bak branches", "clean up bak branches", "delete the backups", or "/clean-bak-branches".

日本語の概要は準備中です。原文の説明を表示しています。

Actual-Chat/actual-chat562026年10月11日 更新

create-pr

無料

Use when work on a branch is finished and the next step is a pull request — "create a PR", "open a PR", "push and PR this", "/create-pr" — when a draft PR should be marked ready for review — "mark the PR ready", "undraft it", "it's ready for review" — or right after either has happened and the team has not been told about it yet.

日本語の概要は準備中です。原文の説明を表示しています。

Actual-Chat/actual-chat562026年10月11日 更新

Search Google Cloud (GKE) server logs of the DEV environment (dev.voxt.ai). Use when troubleshooting anything that needs the server side of the story — stream stalls, RPC peer changes / reconnects, watchdog closures, mesh/node churn, pod restarts — or when the user says "check GCP logs", "check server logs on dev", or gives a dev.voxt.ai timeline from a client console log.

日本語の概要は準備中です。原文の説明を表示しています。

Actual-Chat/actual-chat562026年10月11日 更新

Search Google Cloud (GKE) server logs of the PROD environment. Use when troubleshooting a production incident that needs the server side of the story — stream stalls, RPC peer changes / reconnects, watchdog closures, mesh/node churn, pod restarts — or when the user says "check PROD logs", "check production server logs", or gives a production timeline from a client console log.

日本語の概要は準備中です。原文の説明を表示しています。

Actual-Chat/actual-chat562026年10月11日 更新

memories

無料

What this project has already learned the hard way, and where any new such fact belongs. Two jobs. (1) Routing: this project keeps NO per-project Claude memories — read this before writing anything down, and pick a durable home from the list here. (2) An index, by area, of non-obvious facts worth knowing before you guess: debugging rigs and measurements that lie, iOS/WebKit and the tethered iPhone, the Windows app, production and deployment, and general codebase traps. Use before setting up a browser- or server-driven debugging session, when a bug reproduces only on iPhone, in Safari or in the Windows app, before changing deployment configuration or reading store/crash data, when something behaves unexpectedly and you are about to guess why, and whenever you are tempted to record a fact for later.

日本語の概要は準備中です。原文の説明を表示しています。

Actual-Chat/actual-chat562026年10月11日 更新

CEO/founder-mode plan review. Rethink the problem, find the 10-star product, challenge premises, expand scope when it creates a better product. Three modes: SCOPE EXPANSION (dream big), HOLD SCOPE (maximum rigor), SCOPE REDUCTION (strip to essentials).

日本語の概要は準備中です。原文の説明を表示しています。

Actual-Chat/actual-chat562026年10月11日 更新

Actual-Chat のスキルをすべて見る

このスキルの問題を報告する