MCPcopy Index your code
hub / github.com/ionic-team/capacitor / removeCocoapodsFiles

Function removeCocoapodsFiles

cli/src/util/spm.ts:88–97  ·  view source on GitHub ↗
(config: Config)

Source from the content-addressed store, hash-verified

86}
87
88export async function removeCocoapodsFiles(config: Config): Promise<void> {
89 const iosDirectory = config.ios.nativeProjectDirAbs;
90 const podFile = resolve(iosDirectory, 'Podfile');
91 const podlockFile = resolve(iosDirectory, 'Podfile.lock');
92 const xcworkspaceFile = resolve(iosDirectory, 'App.xcworkspace');
93
94 await remove(podFile);
95 await remove(podlockFile);
96 await remove(xcworkspaceFile);
97}
98
99export async function generatePackageText(config: Config, plugins: Plugin[]): Promise<string> {
100 const iosPlatformVersion = await getCapacitorPackageVersion(config, config.ios.name);

Callers 1

migrateToSPMFunction · 0.90

Calls 1

removeFunction · 0.85

Tested by

no test coverage detected