diff --git a/lib/services/cocoapods-service.ts b/lib/services/cocoapods-service.ts index 78b7c47eda..ca4211961b 100644 --- a/lib/services/cocoapods-service.ts +++ b/lib/services/cocoapods-service.ts @@ -479,6 +479,8 @@ end`.trim(); } private getPluginPodfileHeader(pluginPodFilePath: string): string { + // escape special + from the podfile path (pnpm) + pluginPodFilePath = pluginPodFilePath.replace(/\+/g, "\\+"); return `# Begin Podfile - ${pluginPodFilePath}`; }