Skip to content

Commit 9877726

Browse files
author
Stewart Gleadow
committed
Added readme explaining installation, because I can never remember
1 parent 04e141e commit 9877726

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

README.markdown

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# WaxSim
2+
3+
A wrapper around iPhoneSimulatorRemoteClient, to install and run apps in the iOS simulator.
4+
5+
## Installation
6+
7+
Compiling and installing uses the `xcodebuild` command. By default it installs the app in `/usr/local/bin`.
8+
9+
`xcodebuild install`
10+
11+
To customize the installation location use the `DSTROOT` and `INSTALL_PATH` build variables. For example, to compile into a local `bin` directory:
12+
13+
`xcodebuild install DSTROOT=. INSTALL_PATH=/bin`
14+
15+
## Use
16+
17+
`waxsim "/path/to/MyApp.app"`
18+
19+
If you want to define which family of iOS device to use:
20+
21+
`waxsim -f "ipad" "/path/to/MyApp.app"`
22+
23+
To see all usage options, type `waxsim` with no arguments:
24+
25+
```
26+
usage: waxsim [options] app-path
27+
example: waxsim -s 2.2 /path/to/app.app
28+
Available options are:
29+
-s sdkVersion number of sdk to use (-s 3.1)
30+
-f familyDevice to use (-f ipad)
31+
-e VAR=valueEnvironment variable to set (-e CFFIXED_HOME=/tmp/iphonehome)
32+
-a DependenciesAvailable SDKs
33+
-v pathOutput video recording at path
34+
-h DependenciesPrints out this wonderful documentation!
35+
```
36+
37+
## Dependencies
38+
39+
You need to be runnin Mac OS X running a recent version of Xcode. Testing with Xcode 4.5.
40+

0 commit comments

Comments
 (0)