xcode_grant_privacy_permission
Grant privacy permissions like camera, location, or contacts to iOS apps during automated testing with Appium.
Instructions
Grant privacy permission to an app
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"udid": "<udid>",
"bundleId": "<bundleId>",
"service": "<service>"
},
"name": "xcode_grant_privacy_permission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | Yes | The UDID of the simulator | |
| bundleId | Yes | Bundle identifier of the app | |
| service | Yes | Privacy service to grant |