Skip to content

Commit 814e4b8

Browse files
llbartekllclaude
andcommitted
chore(swift-example-app): restore simulator-control skill bundle-id update
Bring back the .claude/skills/simulator-control/SKILL.md change so the skill points at org.dashfoundation.DashDeveloperPro (the install block still finds SwiftExampleApp.app since PRODUCT_NAME is unchanged). Keeps the skill working after the rename. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent dc3ae6e commit 814e4b8

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

  • .claude/skills/simulator-control

.claude/skills/simulator-control/SKILL.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Without `idb` the inspection workflows (screenshot + SwiftData + logs) still wor
2626
export PATH="$HOME/.local/bin:$PATH"
2727
UDID=$(xcrun simctl list devices booted | awk -F'[()]' '/Booted/ {print $2}')
2828
idb connect $UDID # starts idb_companion alongside the running sim
29-
BUNDLE=org.dashfoundation.SwiftExampleApp
29+
BUNDLE=org.dashfoundation.DashDeveloperPro
3030
3131
# === INSPECT ===
3232
xcrun simctl io booted screenshot /tmp/sim.png # screenshot
@@ -278,8 +278,10 @@ If `idb connect` succeeds but `idb ui describe-all` returns a single root elemen
278278
The skill assumes the binary on the simulator is current. It's not, if you've built but forgotten to install. After every `./build_ios.sh --target sim` (or any code change), push the fresh artifact:
279279
280280
```bash
281-
BUNDLE=org.dashfoundation.SwiftExampleApp
282-
APP=$(find ~/Library/Developer/Xcode/DerivedData -name "${BUNDLE##*.}.app" -path "*Debug-iphonesimulator*" -not -path "*Index.noindex*" 2>/dev/null | head -1)
281+
BUNDLE=org.dashfoundation.DashDeveloperPro
282+
# The .app on disk is named after PRODUCT_NAME (still "SwiftExampleApp"), which
283+
# differs from the bundle id — find by the product name, launch by the bundle id.
284+
APP=$(find ~/Library/Developer/Xcode/DerivedData -name "SwiftExampleApp.app" -path "*Debug-iphonesimulator*" -not -path "*Index.noindex*" 2>/dev/null | head -1)
283285
xcrun simctl install booted "$APP"
284286
xcrun simctl launch booted "$BUNDLE" # or terminate-then-launch to force a fresh process
285287
```

0 commit comments

Comments
 (0)