diff --git a/cli/src/config.ts b/cli/src/config.ts index d61bad825..4f3488b91 100644 --- a/cli/src/config.ts +++ b/cli/src/config.ts @@ -422,6 +422,10 @@ async function determinePackageManager( return 'SPM'; } + if (process.env.CAPACITOR_COCOAPODS_PATH) { + return 'Cocoapods'; + } + let gemfilePath = ''; if (await pathExists(resolve(rootDir, 'Gemfile'))) { gemfilePath = resolve(rootDir, 'Gemfile');