Skip to content

Commit 72baf5f

Browse files
committed
Merge pull request square#1 from sgleadow/install-path-and-install-instructions
Install path and install instructions
2 parents 93d4dd1 + 9877726 commit 72baf5f

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-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+

WaxSim.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,12 @@
200200
isa = XCBuildConfiguration;
201201
buildSettings = {
202202
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
203+
DSTROOT = /;
203204
GCC_C_LANGUAGE_STANDARD = gnu99;
204205
GCC_OPTIMIZATION_LEVEL = 0;
205206
GCC_WARN_ABOUT_RETURN_TYPE = YES;
206207
GCC_WARN_UNUSED_VARIABLE = YES;
208+
INSTALL_PATH = /usr/local/bin;
207209
ONLY_ACTIVE_ARCH = YES;
208210
SDKROOT = macosx;
209211
};
@@ -213,9 +215,11 @@
213215
isa = XCBuildConfiguration;
214216
buildSettings = {
215217
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
218+
DSTROOT = /;
216219
GCC_C_LANGUAGE_STANDARD = gnu99;
217220
GCC_WARN_ABOUT_RETURN_TYPE = YES;
218221
GCC_WARN_UNUSED_VARIABLE = YES;
222+
INSTALL_PATH = /usr/local/bin;
219223
ONLY_ACTIVE_ARCH = YES;
220224
SDKROOT = macosx;
221225
};

0 commit comments

Comments
 (0)