run-ios-device
Easy way to run apps on your ios devices.
Features
getDevices()
: List all connected devicesgetFirstDeviceId()
: Find the first conntected devicegetMatchingDeviceId(nameOrId)
: Find a matching device- It will look for a matching
udid
first - In a second round it will look for matching (even partial) device names
- It will look for a matching
install(appPath, deviceId, setProgress)
: Install your appappPath
should be the full path to your.app
folderdeviceId
is the realudid
of the device you want to install on- optional
setProgress
callback that will be called with numbers 0-100
installAndRun(appPath, deviceId, setProgress)
: Same asinstall
but callsrun
in addtionappPath
should be the full path to your.app
folderdeviceId
is the realudid
of the device you want to install on- optional
setProgress
callback that will be called with numbers 0-100
run(appPath, deviceId)
: Launch the given app on the selected deviceappPath
should be the full path to your.app
folderdeviceId
is the realudid
of the device you want to install on
Installation
npm install --save run-ios-device