Loading...
Loading...
Use for iOS / Xcode build, run, test, clean/DerivedData, and simulator workflows in projects that have an `.xc-dev/` directory. Routes work through `xc-dev <task>` or builtins like `:clean` instead of raw `xcodebuild`.
npx skill4agent add yjmeqt/xc-dev xc-devxc-dev.xc-dev/project.toml.xc-dev/simulator.toml.xc-dev/tasks.tomlbuildruntesttest-package{{scheme}}{{bundle_id}}{{sim_id}}{{derived_data}}{{git_branch}}.xc-dev/ls -d .xc-dev 2>/dev/nulltasks.toml.xc-dev/xc-dev # bare form is shorthand for `xc-dev :list`
xc-dev :listxc-dev :get scheme
xc-dev :get bundle_id
xc-dev :get sim_id
xc-dev :get derived_data
xc-dev :get sim.ipad.id # qualified, non-default sim
xc-dev :get git_branchxc-dev :doctorxc-dev build
xc-dev build Release # positional override of `args = ["config=Debug"]`
xc-dev test-package Networking
xc-dev -v build # echo expanded command to stderr (handy for debugging)012.xc-dev/tasks.tomlxcodebuild{{scheme}}{{derived_data}}| Verb | What |
|---|---|
| Scaffold |
| List all tasks with their |
| Print one variable |
| Sanity-check config + every task's vars + depends |
| Dry-run: list local + system DerivedData for this project |
| Delete them (Packages under the root included; skips |
| Resolve simulator UDIDs into |
xc-dev run # if the user has set up the example `run` task
# else manually:
xcrun simctl boot $(xc-dev :get sim_id) 2>/dev/null || true
xcrun simctl install $(xc-dev :get sim_id) $(xc-dev :get app_path)
xcrun simctl launch $(xc-dev :get sim_id) $(xc-dev :get bundle_id)ls "$(xc-dev :get app_path)"{{derived_data}}{{xc_dev_dir}}/DerivedDatarm -rf~/Library/Developer/Xcode/DerivedDataxc-dev :clean # dry-run
xc-dev :clean --yes # delete local {{derived_data}} + system entries whose
# info.plist WorkspacePath is under this project root
# (main .xcodeproj and Packages/*)cleanxc-dev clean:cleansim-delete:cleancrates/xc-dev/docs/tasks.mdcrates/xc-dev/docs/variables.mdcrates/xc-dev/docs/config.mdcrates/xc-dev/docs/examples.mdxcodebuildmcp-cli