diff --git a/packages/platform-ios/src/config/index.ts b/packages/platform-ios/src/config/index.ts index 965f397be..77e131a09 100644 --- a/packages/platform-ios/src/config/index.ts +++ b/packages/platform-ios/src/config/index.ts @@ -54,7 +54,7 @@ export function projectConfig(folder: string, userConfig: IOSProjectParams) { sourceDir, folder, pbxprojPath: path.join(projectPath, 'project.pbxproj'), - podfile: findPodfilePath(projectPath), + podfile: findPodfilePath(projectPath) || findPodfilePath(sourceDir), podspecPath: userConfig.podspecPath || // podspecs are usually placed in the root dir of the library or in the