Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Hack to get the iPhone Simulator to run on the command line
Objective-C
Branch: master
Pull request Compare This branch is 8 commits ahead, 2 commits behind square:master.

Merge pull request #1 from sgleadow/install-path-and-install-instruct…

…ions

Install path and install instructions
latest commit 72baf5ffa3
@jonathanpenn authored

README.markdown

WaxSim

A wrapper around iPhoneSimulatorRemoteClient, to install and run apps in the iOS simulator.

Installation

Compiling and installing uses the xcodebuild command. By default it installs the app in /usr/local/bin.

xcodebuild install

To customize the installation location use the DSTROOT and INSTALL_PATH build variables. For example, to compile into a local bin directory:

xcodebuild install DSTROOT=. INSTALL_PATH=/bin

Use

waxsim "/path/to/MyApp.app"

If you want to define which family of iOS device to use:

waxsim -f "ipad" "/path/to/MyApp.app"

To see all usage options, type waxsim with no arguments:

usage: waxsim [options] app-path
example: waxsim -s 2.2 /path/to/app.app
Available options are:
  -s sdkVersion number of sdk to use (-s 3.1)
  -f familyDevice to use (-f ipad)
  -e VAR=valueEnvironment variable to set (-e CFFIXED_HOME=/tmp/iphonehome)
  -a DependenciesAvailable SDKs
  -v pathOutput video recording at path
  -h DependenciesPrints out this wonderful documentation!

Dependencies

You need to be runnin Mac OS X running a recent version of Xcode. Testing with Xcode 4.5.

Something went wrong with that request. Please try again.