Example #1
0
					timer = setTimeout(function () {
						// logs quieted down, go ahead and install
						state = INSTALLING;
						iosDevice.installApp(udid, appPath, function (err) {
							if (err) {
								emitter.emit('error', err);
								trackOff();
								logOff && logOff();
							} else {
								emitter.emit('installed');
							}
							return callback(err);
						});
					}, 500);
Example #2
0
											timer = setTimeout(function () {
												// logs quieted down, go ahead and install
												state = INSTALLING;
												logger.info(__('Installing app on device: %s', device.name.cyan));
												iosDevice.installApp(device.udid, builder.xcodeAppDir, function (err) {
													if (err) {
														err = err.message || err;
														logger.error(err);
														if (err.indexOf('0xe8008017') != -1) {
															logger.error(__('Chances are there is a signing issue with your provisioning profile or the generated app is not compatible with your device'));
														}
														next(err);
													}
												});
											}, 500);