@capacitor/cli
Version:
Capacitor: Cross-platform apps with JavaScript and the web
17 lines (16 loc) • 591 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.openIOS = void 0;
const tslib_1 = require("tslib");
const open_1 = tslib_1.__importDefault(require("open"));
const common_1 = require("../common");
async function openIOS(config) {
if ((await config.ios.packageManager) == 'SPM') {
await (0, open_1.default)(config.ios.nativeXcodeProjDirAbs, { wait: false });
}
else {
await (0, open_1.default)(await config.ios.nativeXcodeWorkspaceDirAbs, { wait: false });
}
await (0, common_1.wait)(3000);
}
exports.openIOS = openIOS;