appium-xcode
Advanced tools
Comparing version 2.1.0-beta to 2.1.0-beta1
@@ -36,3 +36,3 @@ 'use strict'; | ||
var XCODE_SELECT_TIMEOUT = 3000; | ||
var XCODE_SUBDIR = '/Contents/Developer'; | ||
var XCODE_SUBDIR = "/Contents/Developer"; | ||
var DEFAULT_NUMBER_OF_RETRIES = 3; | ||
@@ -58,4 +58,4 @@ | ||
symlinkPath = '/var/db/xcode_select_link'; | ||
legacySymlinkPath = '/usr/share/xcode-select/xcode_dir_link'; | ||
symlinkPath = "/var/db/xcode_select_link"; | ||
legacySymlinkPath = "/usr/share/xcode-select/xcode_dir_link"; | ||
xcodePath = null; | ||
@@ -124,3 +124,3 @@ | ||
return context$1$0.abrupt('return', xcodePath.replace(new RegExp('/$'), '').trim()); | ||
return context$1$0.abrupt('return', xcodePath.replace(new RegExp("/$"), "").trim()); | ||
@@ -152,3 +152,3 @@ case 29: | ||
stdout = _ref.stdout; | ||
xcodeFolderPath = stdout.replace(new RegExp('/$'), '').trim(); | ||
xcodeFolderPath = stdout.replace(new RegExp("/$"), "").trim(); | ||
@@ -160,3 +160,3 @@ if (_appiumSupport.util.hasContent(xcodeFolderPath)) { | ||
throw new Error('xcode-select returned an empty string'); | ||
throw new Error("xcode-select returned an empty string"); | ||
@@ -207,3 +207,3 @@ case 7: | ||
xcodePath = context$1$0.sent; | ||
plistPath = _path2['default'].resolve(xcodePath, '..', 'Info.plist'); | ||
plistPath = _path2['default'].resolve(xcodePath, "..", "Info.plist"); | ||
context$1$0.next = 6; | ||
@@ -266,5 +266,5 @@ return _regeneratorRuntime.awrap(_appiumSupport.fs.exists(plistPath)); | ||
extensions = ['xrplugin', 'bundle']; | ||
pathPrefix = _path2['default'].resolve(xcodePath, '../Applications/Instruments.app/Contents/PlugIns'); | ||
pathSuffix = 'Contents/Resources/Automation.tracetemplate'; | ||
automationTraceTemplatePaths = [_path2['default'].resolve(pathPrefix, 'AutomationInstrument.' + extensions[0], pathSuffix), _path2['default'].resolve(pathPrefix, 'AutomationInstrument.' + extensions[1], pathSuffix)]; | ||
pathPrefix = _path2['default'].resolve(xcodePath, "../Applications/Instruments.app/Contents/PlugIns"); | ||
pathSuffix = "Contents/Resources/Automation.tracetemplate"; | ||
automationTraceTemplatePaths = [_path2['default'].resolve(pathPrefix, "AutomationInstrument." + extensions[0], pathSuffix), _path2['default'].resolve(pathPrefix, "AutomationInstrument." + extensions[1], pathSuffix)]; | ||
context$1$0.next = 9; | ||
@@ -294,3 +294,3 @@ return _regeneratorRuntime.awrap(_appiumSupport.fs.exists(automationTraceTemplatePaths[0])); | ||
case 15: | ||
msg = 'Could not find Automation.tracetemplate in any of the following' + ('locations ' + automationTraceTemplatePaths.toString()); | ||
msg = "Could not find Automation.tracetemplate in any of the following" + ('locations ' + automationTraceTemplatePaths.toString()); | ||
@@ -390,3 +390,3 @@ log.error(msg); | ||
entriesToSearch = entriesToSearch.concat(currentEntry); | ||
} else if (currentEntry._name && currentEntry._name.substring(0, 4) === 'iPad' || currentEntry._name && currentEntry._name.substring(0, 6) === 'iPhone') { | ||
} else if (currentEntry._name && currentEntry._name.substring(0, 4) === "iPad" || currentEntry._name && currentEntry._name.substring(0, 6) === "iPhone") { | ||
deviceInfo = { | ||
@@ -429,3 +429,3 @@ name: currentEntry._name, | ||
if (!stdout) { | ||
stdout = ''; | ||
stdout = ""; | ||
} | ||
@@ -432,0 +432,0 @@ |
@@ -176,3 +176,3 @@ require('source-map-support').install(); | ||
fileExists(path).should.eventually.be['true']; | ||
suffix = '.tracetemplate'; | ||
suffix = ".tracetemplate"; | ||
@@ -179,0 +179,0 @@ path.slice(-suffix.length).should.equal(suffix); |
@@ -7,3 +7,3 @@ { | ||
], | ||
"version": "2.1.0-beta", | ||
"version": "2.1.0-beta1", | ||
"author": "appium", | ||
@@ -29,3 +29,3 @@ "license": "Apache License 2.0", | ||
"asyncbox": "^2.0.2", | ||
"babel-runtime": "=5.6.16", | ||
"babel-runtime": "=5.8.20", | ||
"denodeify": "^1.2.1", | ||
@@ -32,0 +32,0 @@ "lodash": "^3.6.0", |
70612
Updatedbabel-runtime@=5.8.20