You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of January 2024, we've identified overlapping functionalities between **AppleSimulatorUtils** and **`xcrun simctl`** command in the latest **Command Line Tools for Xcode**.
4
+
This has led to the deprecation of several commands in **AppleSimulatorUtils**.
5
+
6
+
For detailed usage of the **`xcrun simctl`** command, run `xcrun simctl --help`.
7
+
8
+
## Deprecated Commands
9
+
10
+
The commands listed below are now deprecated in **AppleSimulatorUtils**, and can be replaced with corresponding **`xcrun simctl`** commands:
11
+
12
+
### `--setPermissions` Options
13
+
14
+
The following `--setPermissions` options in **AppleSimulatorUtils** are deprecated and can be replaced with corresponding `xcrun simctl privacy` commands:
15
+
16
+
-`calendar`
17
+
-`contacts`
18
+
-`location`
19
+
-`photos`
20
+
-`medialibrary`_(Use `media-library` in `xcrun simctl privacy`)_
21
+
-`microphone`
22
+
-`motion`
23
+
-`reminders`
24
+
-`siri`
25
+
26
+
For detailed usage of the simctl privacy commands, run `xcrun simctl privacy --help`.
27
+
28
+
### `--setLocation` Command
29
+
30
+
The `--setLocation` command is deprecated. Use `xcrun simctl location` instead.
31
+
32
+
For detailed usage of the location command, run `xcrun simctl location --help`.
33
+
34
+
## Additional Notes
35
+
36
+
While most of the deprecated commands are still available and function in **AppleSimulatorUtils**,
37
+
some may show regressions (especially in newer versions of iOS and Xcode).
38
+
39
+
If you encounter any issues,
40
+
the recommended solution is to use **`xcrun simctl`** instead,
41
+
as it is more up-to-date and maintained by Apple.
42
+
43
+
---
44
+
45
+
**We will continue to maintain AppleSimulatorUtils for non-overlapping functionalities only.**
Copy file name to clipboardExpand all lines: README.md
+9
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,15 @@
1
1
# AppleSimulatorUtils
2
2
A collection of utils for Apple simulators.
3
3
4
+
## Deprecation Notice
5
+
6
+
**AppleSimulatorUtils** remains an actively maintained project.
7
+
However, we have deprecated certain functionalities that overlap with features provided by the **`xcrun simctl`** command in the latest **Command Line Tools for Xcode**.
8
+
In addition to avoid redundancy, it is better to use the **official** tool provided by Apple.
9
+
10
+
For a comprehensive list of deprecated commands and their `xcrun simctl` alternatives, please refer to our [Deprecations Document](./DEPRECATIONS.md).
0 commit comments