Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: set location permission via xcrun simctl privacy #2275

Merged
merged 3 commits into from
Nov 26, 2023

Conversation

KazuCocoa
Copy link
Member

Address appium/appium-ios-simulator#406 in the setPermission docs

Set application permission state on Simulator.

`location` and `location-always` services are by `xcrun simctl privacy` command since XCUITest driver version 5.11.0.
The command kills the `bundleId` application process.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if it is running

`location` and `location-always` services are by `xcrun simctl privacy` command since XCUITest driver version 5.11.0.
The command kills the `bundleId` application process.

Other services such as `contacts` are by [WIX applesimutils](https://github.com/wix/AppleSimulatorUtils), which does not kill the `bundleId` application process.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are precessed by

@KazuCocoa KazuCocoa merged commit 3f6979b into master Nov 26, 2023
15 checks passed
@KazuCocoa KazuCocoa deleted the location-permission branch November 26, 2023 08:30
github-actions bot pushed a commit that referenced this pull request Nov 26, 2023
## [5.11.0](v5.10.2...v5.11.0) (2023-11-26)

### Features

* set location permission via xcrun simctl privacy ([#2275](#2275)) ([3f6979b](3f6979b))
Copy link
Contributor

🎉 This PR is included in version 5.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants