fix a bug in finding ios real device id

This commit is contained in:
Jonah Stiennon
2015-04-29 12:02:25 -07:00
parent a50ffb0d5b
commit 2edff49657
+1 -1
View File
@@ -825,7 +825,7 @@ IOS.prototype.detectUdid = function (cb) {
}
if (stdout && stdout.length > 2) {
this.args.udid = stdout.replace("\n", "");
this.args.udid = stdout.split("\n")[0];
logger.debug("Detected udid as " + this.args.udid);
cb();
} else {