From a11cace045856499a44637cd3052501ef34b5757 Mon Sep 17 00:00:00 2001 From: farfromrefuge Date: Mon, 7 Mar 2022 18:23:26 +0100 Subject: [PATCH] fix(pnpm): escape + in podfile path string (#5638) Co-authored-by: Igor Randjelovic --- lib/services/cocoapods-service.ts | 2 ++ 1 file changed, 2 insertions(+) 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}`; }