mirror of
https://github.com/appium/appium.git
synced 2026-10-25 18:21:19 +08:00
fix a bug in finding ios real device id
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user