/ios:ios-devfrom ios
MUST use this skill for any native iOS/Swift app work on a Mac with Xcode 27 or later - building, testing, debugging, simulator or device verification, TestFlight, and App Store release. Triggers on "iOS 앱", "Xcode", "시뮬레이터", "실기기", "TestFlight", "앱스토어 배포", "asc". Routes build/test/run/UI automation/debug through MobileBuildMCP, Xcode-only tools (previews, issues, documentation) through the Xcode MCP bridge, simulators through SimSlim, and release through the asc CLI.
Ships in ios. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Two tools, one split: MobileBuildMCP builds, tests, runs, drives the UI, and debugs through xcodebuild, simctl, devicectl, and LLDB, so it needs no Xcode permission and works over SSH. The Xcode MCP bridge is only for what exists in Xcode alone. Release goes to the App Store through asc.
asc is the release path.Never open a simulator window (Simulator.app, MobileBuildMCP open_sim); the agent works headless and the user watches in Device Hub. Never killall; stop only processes you started.
Linux에서 원격 Mac으로 빌드·검증·업로드할 때는 회사 Mac을 우선하고, 회사 Mac을 사용할 수 없을 때만 개인 Mac을 사용한다. 호스트 이름은 현재 PC의 호스트 문서에서 찾는다. 개인 맥북에 캐시나 서명 환경이 준비돼 있다는 이유로 순서를 바꾸지 않는다. 빌드 스크립트에는 선택한 호스트를 HOST=로 명시한다.
Requirements: Xcode 27+, macOS 26.6+, Apple Silicon, Node 18+.
MobileBuildMCP (github.com/getsentry/MobileBuildMCP) — registered user-wide on the Mac:
E="MOBILEBUILDMCP_ENABLED_WORKFLOWS=simulator,device,ui-automation,debugging"; T="MOBILEBUILDMCP_SENTRY_DISABLED=true"
claude mcp add -s user mobilebuildmcp -e "$E" -e "$T" -- npx -y mobilebuildmcp@latest mcp
codex mcp add mobilebuildmcp --env "$E" --env "$T" -- npx -y mobilebuildmcp@latest mcp
npx -y mobilebuildmcp@latest tools # lists the enabled tools
.mcp.json as ssh <mac> 'PATH=/opt/homebrew/bin:$PATH <same env> npx -y mobilebuildmcp@latest mcp'. Tool paths are Mac paths.xcodebuild.Xcode MCP bridge — only for SwiftUI previews, Issue Navigator, documentation search, entitlement / Info.plist / String Catalog tools, and crash or field-performance reports:
claude mcp add -s project xcode -- xcrun mcpbridge # Claude Code: writes .mcp.json in the repo
codex mcp add xcode -- xcrun mcpbridge # Codex
xcrun mcp-server status # headless server state
sudo xcrun mcp-server enable once. Allow parent folders once so new workspaces do not prompt: sudo xcrun mcp-server allow-folder <parent> --always. The user runs every sudo step. Never pass --unsafe-always-allow-all-agents./bin/zsh) and gets a 24-hour grant; after it expires Xcode prompts on the Mac screen again. Prefer MobileBuildMCP for anything it covers.device-interaction, swiftui-specialist, modernize-tests, ...): xcrun agent skills export --output-dir <dir> --replace-existing.Once per project, before the first build task: if the project root has no .build-benchmark/, run xcode-build-orchestrator (benchmark clean and incremental builds, analyze, list the recommended fixes) and apply only the fixes the user approves. Add .build-benchmark/ to .gitignore; never commit it.
Start with discover_projs and list_schemes, then build and test: build_sim / build_run_sim / test_sim on the session's simulator, build_device / test_device on a device, debug_attach_sim and the debug_* tools for LLDB. Render SwiftUI previews with the Xcode bridge (RenderPreview) instead of launching the app for a layout check.
xcodebuild only when the user asks for a scripted or CI path.simslim list # slim status per simulator
simslim on <udid> --profile <proj>.json # after a runtime change, a simulator reset, or a SimSlim upgrade
simslim verify <udid> --profile <proj>.json # drift against the project's profile JSON
simslim measure <udid> # actual memory effect
--profile cannot be combined with --except or --keep.simslim disk-clean deletes permanently: never without the user's approval, and simslim clone important simulators first.build_run_sim → snapshot_ui (element coordinates) → tap / swipe / type_text → screenshot. Open the screenshot and look at it.Ask before installing or running anything on a device. State the device, the build configuration, and what you will check.
+ → "Pair Nearby Device…" (iOS 27+, same Wi-Fi) or by cable. Developer Mode must be on.build_run_device; tests with test_device. The user keeps iPhone Mirroring (macOS app, separate from Device Hub) open to watch the device. The agent reads logs with xcrun devicectl device process launch --console --device <udid> <bundle-id>.brew install asc # rorkai/App-Store-Connect-CLI, MIT
asc auth status --validate # the user runs `asc auth login --name ... --key-id ... --issuer-id ... --private-key <AuthKey.p8>` once
asc doctor
asc status --app <APP_ID>
asc xcode archive --workspace <App>.xcworkspace --scheme <App> --archive-path .asc/artifacts/<App>.xcarchive --output json
asc xcode export --archive-path .asc/artifacts/<App>.xcarchive --export-options ExportOptions.plist --ipa-path .asc/artifacts/<App>.ipa --output json
asc publish testflight --app <APP_ID> --ipa .asc/artifacts/<App>.ipa --group <GROUP_ID>
asc publish appstore --app <APP_ID> --ipa .asc/artifacts/<App>.ipa --version <X.Y.Z> --submit --confirm
asc search "<what you want to do>" --output json # find the exact command
asc auth login. On a Mac driven over SSH or in the background the login keychain starts locked, so the user logs in with asc auth login --bypass-keychain (config file) there. Never print, log, or commit a key, key id, or issuer id; never type them yourself - the user runs the login.--xcodebuild-flag=-allowProvisioningUpdates and the -authenticationKeyPath / -authenticationKeyID / -authenticationKeyIssuerID flags to both archive and export.ExportOptions.plist: signingStyle manual, signingCertificate, and provisioningProfiles per bundle id. signingCertificate applies to manual signing only.CURRENT_PROJECT_VERSION on every upload, and set ITSAppUsesNonExemptEncryption in Info.plist or the build stops at missing export compliance.asc web auth login (the user completes 2FA) and asc web apps create; asc apps create no longer exists.--submit --confirm is irreversible: state app, version, build, and release notes, then wait for the user's yes.MobileBuildMCP connected · Xcode bridge only for Xcode-only tools · build benchmark done once per project · no simulator window opened, simslim verify clean · device run approved by the user, iPhone Mirroring open, console read · asc auth status --validate valid without exposing keys · submit confirmed by the user · tag and changelog done.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub changroro/plugins --plugin ios