function deployToDevice (appPath, target, extraArgs) {
    events.emit('log', 'Deploying to device');
    const args = ['--justlaunch', '-d', '-b', appPath];
    if (target) {
        args.push('-i', target);
    } else {
        args.push('--no-wifi');
    }
    return execa('ios-deploy', args.concat(extraArgs), { stdio: 'inherit' });
}
Deploy specified app package to connected device
using ios-deploy command
@param  {String} appPath Path to application package
@return {Promise}        Resolves when deploy succeeds otherwise rejects