MCPcopy
hub / github.com/ionic-team/capacitor / openIOS

Function openIOS

cli/src/ios/open.ts:6–14  ·  view source on GitHub ↗
(config: Config)

Source from the content-addressed store, hash-verified

4import type { Config } from '../definitions';
5
6export async function openIOS(config: Config): Promise<void> {
7 if ((await config.ios.packageManager) == 'SPM') {
8 await open(config.ios.nativeXcodeProjDirAbs, { wait: false });
9 } else {
10 await open(await config.ios.nativeXcodeWorkspaceDirAbs, { wait: false });
11 }
12
13 await wait(3000);
14}

Callers 1

openFunction · 0.90

Calls 2

waitFunction · 0.90
openFunction · 0.85

Tested by

no test coverage detected