一键导入
ios-debug
Analyze debug logs from running IngrediCheck app. Use when debugging issues, checking errors, or user reports a problem.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze debug logs from running IngrediCheck app. Use when debugging issues, checking errors, or user reports a problem.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Find Reddit posts and craft genuine comments to pitch IngrediCheck. Walk through posts one by one, propose comments, get approval, then move to next.
Archive, build, and upload IngrediCheck to App Store Connect. Use to publish a new build for TestFlight or App Store.
Build and deploy IngrediCheck to iOS device. Use when user wants to deploy, test on device, or run the app.
List builds from App Store Connect. Use to check build status, versions, and upload dates.
Show App Store ratings and customer reviews. Use to see overall rating, user feedback, filter by stars.
Download sales reports and analytics from App Store Connect.
| name | ios-debug |
| description | Analyze debug logs from running IngrediCheck app. Use when debugging issues, checking errors, or user reports a problem. |
| argument-hint | ["issue description"] |
| context | fork |
| agent | general-purpose |
| model | haiku |
User's issue: $ARGUMENTS
DO NOT do your own analysis. ONLY run the helper script and summarize its output.
.claude/skills/ios-debug/scripts/debug-check.sh
If user specified a device name in their query, pass it as argument:
.claude/skills/ios-debug/scripts/debug-check.sh aadi
Based on the script output, provide a brief summary:
Keep response concise. The script already shows the logs - don't repeat them verbatim.
End with: "Debug check completed in Xms" (from script output)
If the helper script errors with "No active devices", tell user to run /deploy-ios first.
If the script shows 0 app logs but user needs logs, suggest:
./.claude/skills/ios-deploy/scripts/deploy-device.sh -s
llc.fungee.ingredicheck/tmp/ingredicheck-logs-<UDID>.txt (per-device)/tmp/ingredicheck-sim-logs.txtThe app uses Log.debug/info/warning/error() which internally calls NSLog:
devicectl --console on iOS 18+[Category] message (e.g., [FamilyStore] loadCurrentFamily() called)For physical devices, the app continues running during debug analysis - no restart, no lost state!
Run these in order when logs seem missing or wrong (replace <UUID> with device UUID, <UDID> with device UDID):
# 1. Is devicectl console running for this device?
pgrep -f "devicectl.*<UUID>"
# 2. Is the log file being written to?
ls -lh /tmp/ingredicheck-logs-<UDID>.txt
# 3. Is the device connected?
xcrun devicectl list devices
# 4. Any app logs at all? (0 = stale logs, need to truncate and wait)
grep -a -c "IngrediCheck(Foundation)" /tmp/ingredicheck-logs-<UDID>.txt
# 5. Quick peek at app logs
grep -a "IngrediCheck(Foundation)" /tmp/ingredicheck-logs-<UDID>.txt | tail -20
pgrep -f "devicectl.*<UUID>"xcrun devicectl list devices./.claude/skills/ios-deploy/scripts/deploy-device.sh -s<private> that's os_log (shouldn't happen)grep -a flag for binary mode./.claude/skills/ios-deploy/scripts/deploy-device.sh -s.claude/debug.txt for active devices.