mirror of
https://github.com/appium/appium.git
synced 2026-02-13 21:39:49 -06:00
@@ -389,7 +389,7 @@ IOS.prototype.detectTraceTemplate = function(cb) {
|
||||
IOS.prototype.detectUdid = function (cb) {
|
||||
if (this.udid !== null && this.udid === "auto") {
|
||||
logger.info("Auto-detecting iOS udid...");
|
||||
var udidetectPath = path.resolve(__dirname, "../build/udidetect/udidetect");
|
||||
var udidetectPath = path.resolve(__dirname, "../../../build/udidetect/udidetect");
|
||||
var udiddetectProc = exec(udidetectPath, { maxBuffer: 524288, timeout: 3000 }, function(err, stdout) {
|
||||
if (stdout && stdout.length > 2) {
|
||||
this.udid = stdout.replace("\n","");
|
||||
|
||||
Reference in New Issue
Block a user