From c41d28f8cc829c6bf69d776280c9f1fdba9f866f Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Tue, 13 Sep 2022 17:07:02 +0200 Subject: [PATCH] fix(cli): Make update from windows use proper paths on Podfile (#5906) --- cli/src/ios/update.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cli/src/ios/update.ts b/cli/src/ios/update.ts index 74deabc58..c64958098 100644 --- a/cli/src/ios/update.ts +++ b/cli/src/ios/update.ts @@ -164,9 +164,8 @@ async function generatePodFile( return ''; } - return ` pod '${p.ios.name}', :path => '${relative( - podfilePath, - await realpath(p.rootPath), + return ` pod '${p.ios.name}', :path => '${convertToUnixPath( + relative(podfilePath, await realpath(p.rootPath)), )}'\n`; }), );