clean_proj
Clean build products from an Xcode project using xcodebuild. Specify the project path; optionally include scheme, configuration, or derived data path for targeted cleaning.
Instructions
Cleans build products for a specific project file using xcodebuild. IMPORTANT: Requires projectPath. Scheme/Configuration are optional. Example: clean_proj({ projectPath: '/path/to/MyProject.xcodeproj', scheme: 'MyScheme' })
Input Schema
Name | Required | Description | Default |
---|---|---|---|
configuration | No | Optional: Build configuration to clean (Debug, Release, etc.) | |
derivedDataPath | No | Optional: Path where derived data might be located | |
extraArgs | No | Additional xcodebuild arguments | |
projectPath | Yes | Path to the .xcodeproj file (Required) | |
scheme | No | Optional: The scheme to clean |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from XcodeBuildMCP
- boot_sim
- build_ios_sim_id_proj
- build_ios_sim_id_ws
- build_ios_sim_name_proj
- build_ios_sim_name_ws
- build_run_ios_sim_id_proj
- build_run_ios_sim_id_ws
- build_run_ios_sim_name_proj
- build_run_ios_sim_name_ws
- clean_proj
- clean_ws
- get_ios_bundle_id
- get_sim_app_path_id_proj
- get_sim_app_path_id_ws
- get_sim_app_path_name_proj
- get_sim_app_path_name_ws
- install_app_sim
- launch_app_logs_sim
- launch_app_sim
- open_sim
- start_sim_log_cap
- stop_sim_log_cap
Related Tools
- @cameroncooke/XcodeBuildMCP
- @devyhan/xcode-mcp
- @devyhan/xcode-mcp
- @ShenghaiWang/xcodebuild
- @ShenghaiWang/xcodebuild
- @r-huijts/xcode-mcp-server