get_mac_app_path_proj
Retrieve the app bundle path for a macOS application by specifying the project file and scheme. Requires projectPath and scheme inputs for accurate results.
Instructions
Gets the app bundle path for a macOS application using a project file. IMPORTANT: Requires projectPath and scheme. Example: get_mac_app_path_proj({ projectPath: '/path/to/project.xcodeproj', scheme: 'MyScheme' })
Input Schema
Name | Required | Description | Default |
---|---|---|---|
arch | No | Architecture to build for (arm64 or x86_64). For macOS only. | |
configuration | No | Build configuration (Debug, Release, etc.) | |
derivedDataPath | No | Path to derived data directory | |
extraArgs | No | Additional arguments to pass to xcodebuild | |
projectPath | Yes | Path to the .xcodeproj file | |
scheme | Yes | The scheme to use |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"arch": {
"description": "Architecture to build for (arm64 or x86_64). For macOS only.",
"enum": [
"arm64",
"x86_64"
],
"type": "string"
},
"configuration": {
"description": "Build configuration (Debug, Release, etc.)",
"type": "string"
},
"derivedDataPath": {
"description": "Path to derived data directory",
"type": "string"
},
"extraArgs": {
"description": "Additional arguments to pass to xcodebuild",
"items": {
"type": "string"
},
"type": "array"
},
"projectPath": {
"description": "Path to the .xcodeproj file",
"type": "string"
},
"scheme": {
"description": "The scheme to use",
"type": "string"
}
},
"required": [
"projectPath",
"scheme"
],
"type": "object"
}