We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d241c49 + d173dab commit fcd0eeaCopy full SHA for fcd0eea
lib/services/ios-project-service.ts
@@ -578,7 +578,7 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
578
private removeCocoapods(pluginPlatformsFolderPath: string): IFuture<void> {
579
return (() => {
580
let pluginPodFilePath = path.join(pluginPlatformsFolderPath, "Podfile");
581
- if(this.$fs.exists(pluginPodFilePath).wait()) {
+ if(this.$fs.exists(pluginPodFilePath).wait() && this.$fs.exists(this.projectPodFilePath).wait()) {
582
let pluginPodFileContent = this.$fs.readText(pluginPodFilePath).wait();
583
let projectPodFileContent = this.$fs.readText(this.projectPodFilePath).wait();
584
let contentToRemove= this.buildPodfileContent(pluginPodFilePath, pluginPodFileContent);
0 commit comments