File tree Expand file tree Collapse file tree 2 files changed +44
-0
lines changed
Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 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+
Original file line number Diff line number Diff line change 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 };
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 };
You can’t perform that action at this time.
0 commit comments