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
Copy file name to clipboardExpand all lines: README.md
+12-8Lines changed: 12 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,16 @@
1
1
ios-sim
2
2
=======
3
3
4
+
Supports Xcode 6 only since version 3.x.
5
+
4
6
The ios-sim tool is a command-line utility that launches an iOS application on
5
7
the iOS Simulator. This allows for niceties such as automated testing without
6
-
having to open XCode.
8
+
having to open Xcode.
7
9
8
10
Features
9
11
--------
10
12
11
-
* Choose the device family to simulate, i.e. iPhone or iPad.
13
+
* Choose the device family to simulate, i.e. iPhone or iPad. Run using "showdevicetypes" option to see available device types, and pass it in as the "devicetypeid" parameter.
12
14
* Setup environment variables.
13
15
* Pass arguments to the application.
14
16
* See the stdout and stderr, or redirect them to files.
@@ -34,19 +36,21 @@ Options:
34
36
--exit Exit after startup
35
37
--debug Attach LLDB to the application on startup
36
38
--use-gdb Use GDB instead of LLDB. (Requires --debug)
37
-
--sdk <sdkversion> The iOS SDK version to run the application on (defaults to the latest)
38
-
--devicetypeid <device type> The id of the device type that should be simulated (Xcode6+)
39
-
--family <device family> The device type that should be simulated (defaults to `iphone')
40
-
--retina Start a retina device
41
-
--tall In combination with --retina flag, start the tall version of the retina device (e.g. iPhone 5 (4-inch))
42
-
--64bit In combination with --retina flag and the --tall flag, start the 64bit version of the tall retina device (e.g. iPhone 5S (4-inch 64bit))
43
39
--uuid <uuid> A UUID identifying the session (is that correct?)
44
40
--env <environment file path> A plist file containing environment key-value pairs that should be set
45
41
--setenv NAME=VALUE Set an environment variable
46
42
--stdout <stdout file path> The path where stdout of the simulator will be redirected to (defaults to stdout of ios-sim)
47
43
--stderr <stderr file path> The path where stderr of the simulator will be redirected to (defaults to stderr of ios-sim)
48
44
--timeout <seconds> The timeout time to wait for a response from the Simulator. Default value: 30 seconds
49
45
--args <...> All following arguments will be passed on to the application
46
+
--devicetypeid <device type> The id of the device type that should be simulated (Xcode6+). Use 'showdevicetypes' to list devices.
Copy file name to clipboardExpand all lines: README.template.md
+12-8Lines changed: 12 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,16 @@
1
1
ios-sim
2
2
=======
3
3
4
+
Supports Xcode 6 only since version 3.x.
5
+
4
6
The ios-sim tool is a command-line utility that launches an iOS application on
5
7
the iOS Simulator. This allows for niceties such as automated testing without
6
-
having to open XCode.
8
+
having to open Xcode.
7
9
8
10
Features
9
11
--------
10
12
11
-
* Choose the device family to simulate, i.e. iPhone or iPad.
13
+
* Choose the device family to simulate, i.e. iPhone or iPad. Run using "showdevicetypes" option to see available device types, and pass it in as the "devicetypeid" parameter.
12
14
* Setup environment variables.
13
15
* Pass arguments to the application.
14
16
* See the stdout and stderr, or redirect them to files.
@@ -34,19 +36,21 @@ Options:
34
36
--exit Exit after startup
35
37
--debug Attach LLDB to the application on startup
36
38
--use-gdb Use GDB instead of LLDB. (Requires --debug)
37
-
--sdk <sdkversion> The iOS SDK version to run the application on (defaults to the latest)
38
-
--devicetypeid <device type> The id of the device type that should be simulated (Xcode6+)
39
-
--family <device family> The device type that should be simulated (defaults to `iphone')
40
-
--retina Start a retina device
41
-
--tall In combination with --retina flag, start the tall version of the retina device (e.g. iPhone 5 (4-inch))
42
-
--64bit In combination with --retina flag and the --tall flag, start the 64bit version of the tall retina device (e.g. iPhone 5S (4-inch 64bit))
43
39
--uuid <uuid> A UUID identifying the session (is that correct?)
44
40
--env <environment file path> A plist file containing environment key-value pairs that should be set
45
41
--setenv NAME=VALUE Set an environment variable
46
42
--stdout <stdout file path> The path where stdout of the simulator will be redirected to (defaults to stdout of ios-sim)
47
43
--stderr <stderr file path> The path where stderr of the simulator will be redirected to (defaults to stderr of ios-sim)
48
44
--timeout <seconds> The timeout time to wait for a response from the Simulator. Default value: 30 seconds
49
45
--args <...> All following arguments will be passed on to the application
46
+
--devicetypeid <device type> The id of the device type that should be simulated (Xcode6+). Use 'showdevicetypes' to list devices.
fprintf(stderr, " --debug Attach LLDB to the application on startup\n");
157
160
fprintf(stderr, " --use-gdb Use GDB instead of LLDB. (Requires --debug)\n");
158
-
fprintf(stderr, " --sdk <sdkversion> The iOS SDK version to run the application on (defaults to the latest)\n");
159
-
fprintf(stderr, " --devicetypeid <device type> The id of the device type that should be simulated (Xcode6+)\n");
160
-
fprintf(stderr, " --family <device family> The device type that should be simulated (defaults to `iphone')\n");
161
-
fprintf(stderr, " --retina Start a retina device\n");
162
-
fprintf(stderr, " --tall In combination with --retina flag, start the tall version of the retina device (e.g. iPhone 5 (4-inch))\n");
163
-
fprintf(stderr, " --64bit In combination with --retina flag and the --tall flag, start the 64bit version of the tall retina device (e.g. iPhone 5S (4-inch 64bit))\n");
164
161
fprintf(stderr, " --uuid <uuid> A UUID identifying the session (is that correct?)\n");
165
162
fprintf(stderr, " --env <environment file path> A plist file containing environment key-value pairs that should be set\n");
166
163
fprintf(stderr, " --setenv NAME=VALUE Set an environment variable\n");
167
164
fprintf(stderr, " --stdout <stdout file path> The path where stdout of the simulator will be redirected to (defaults to stdout of ios-sim)\n");
168
165
fprintf(stderr, " --stderr <stderr file path> The path where stderr of the simulator will be redirected to (defaults to stderr of ios-sim)\n");
169
166
fprintf(stderr, " --timeout <seconds> The timeout time to wait for a response from the Simulator. Default value: 30 seconds\n");
170
167
fprintf(stderr, " --args <...> All following arguments will be passed on to the application\n");
168
+
fprintf(stderr, " --devicetypeid <device type> The id of the device type that should be simulated (Xcode6+). Use 'showdevicetypes' to list devices.\n");
fprintf(stderr, "DEPRECATED in 3.x, use devicetypeid instead:\n");
171
+
fprintf(stderr, " --sdk <sdkversion> The iOS SDK version to run the application on (defaults to the latest)\n");
172
+
fprintf(stderr, " --family <device family> The device type that should be simulated (defaults to `iphone')\n");
173
+
fprintf(stderr, " --retina Start a retina device\n");
174
+
fprintf(stderr, " --tall In combination with --retina flag, start the tall version of the retina device (e.g. iPhone 5 (4-inch))\n");
175
+
fprintf(stderr, " --64bit In combination with --retina flag and the --tall flag, start the 64bit version of the tall retina device (e.g. iPhone 5S (4-inch 64bit))\n");
176
+
}
177
+
178
+
- (void) printDeprecation:(char*)option {
179
+
fprintf(stderr, "Usage of '%s' is deprecated in 3.x. Use --devicetypeid instead.\n", option);
0 commit comments