appium-xcuitest-driver
Version:
Appium driver for iOS using XCUITest for backend
17 lines (13 loc) • 325 B
JavaScript
import {fs} from 'appium/support';
const XCRUN = 'xcrun';
async function requireXcrun() {
try {
return await fs.which(XCRUN);
} catch {
throw new Error(
`${XCRUN} has not been found in PATH. ` +
`Please make sure XCode development tools are installed`,
);
}
}
export {requireXcrun, XCRUN};