database-petani-mobile/node_modules/@capacitor/cli/dist/ios/open.js
2026-02-23 16:39:35 +07:00

17 lines
591 B
JavaScript

"use strict";
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;