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
The current setlocation only works for iOS below 17, the iOS 17 introduces a new instrumentation service com.apple.instruments.dtservicehub with the channel id com.apple.instruments.server.services.LocationSimulation for the simulated location.
Co-authored-by: fish-sauce <victor.kachalov@saucelabs.com>
Copy file name to clipboardExpand all lines: main.go
+36-3Lines changed: 36 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ import (
14
14
"path/filepath"
15
15
"runtime/debug"
16
16
"sort"
17
+
"strconv"
17
18
"strings"
18
19
"syscall"
19
20
"time"
@@ -156,7 +157,7 @@ The commands work as following:
156
157
ios info [display | lockdown] [options] Prints a dump of device information from the given source.
157
158
ios image list [options] List currently mounted developers images' signatures
158
159
ios image mount [--path=<imagepath>] [options] Mount a image from <imagepath>
159
-
> For iOS 17+ (personalized developer disk images) <imagepath> must point to the "Restore" directory inside the developer disk
160
+
> For iOS 17+ (personalized developer disk images) <imagepath> must point to the "Restore" directory inside the developer disk
160
161
ios image auto [--basedir=<where_dev_images_are_stored>] [options] Automatically download correct dev image from the internets and mount it.
161
162
> You can specify a dir where images should be cached.
162
163
> The default is the current dir.
@@ -216,7 +217,7 @@ The commands work as following:
216
217
ios apps [--system] [--all] [--list] [--filesharing] Retrieves a list of installed applications. --system prints out preinstalled system apps. --all prints all apps, including system, user, and hidden apps. --list only prints bundle ID, bundle name and version number. --filesharing only prints apps which enable documents sharing.
217
218
ios launch <bundleID> [--wait] Launch app with the bundleID on the device. Get your bundle ID from the apps command. --wait keeps the connection open if you want logs.
218
219
ios kill (<bundleID> | --pid=<processID> | --process=<processName>) [options] Kill app with the specified bundleID, process id, or process name on the device.
219
-
ios runtest [--bundle-id=<bundleid>] [--test-runner-bundle-id=<testbundleid>] [--xctest-config=<xctestconfig>] [--log-output=<file>] [--test-to-run=<tests>]... [--test-to-skip=<tests>]... [--env=<e>]... [options] Run a XCUITest. If you provide only bundle-id go-ios will try to dynamically create test-runner-bundle-id and xctest-config.
220
+
ios runtest [--bundle-id=<bundleid>] [--test-runner-bundle-id=<testbundleid>] [--xctest-config=<xctestconfig>] [--log-output=<file>] [--test-to-run=<tests>]... [--test-to-skip=<tests>]... [--env=<e>]... [options] Run a XCUITest. If you provide only bundle-id go-ios will try to dynamically create test-runner-bundle-id and xctest-config.
220
221
> If you provide '-' as log output, it prints resuts to stdout.
221
222
> To be able to filter for tests to run or skip, use one argument per test selector. Example: runtest --test-to-run=(TestTarget.)TestClass/testMethod --test-to-run=(TestTarget.)TestClass/testMethod (the value for 'TestTarget' is optional)
222
223
> The method name can also be omitted and in this case all tests of the specified class are run
@@ -242,7 +243,7 @@ The commands work as following:
242
243
> On systems with System Integrity Protection enabled the argument '--pair-record-path' is required as we can not access the default path for the pair record
243
244
> This command needs to be executed with admin privileges.
244
245
> (On MacOS the process 'remoted' must be paused before starting a tunnel is possible 'sudo pkill -SIGSTOP remoted', and 'sudo pkill -SIGCONT remoted' to resume)
245
-
ios tunnel ls List currently started tunnels
246
+
ios tunnel ls List currently started tunnels
246
247
ios devmode (enable | get) [--enable-post-restart] [options] Enable developer mode on the device or check if it is enabled. Can also completely finalize developer mode setup after device is restarted.
247
248
248
249
`, version)
@@ -605,6 +606,15 @@ The commands work as following:
0 commit comments