We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7df627 commit d173dabCopy full SHA for d173dab
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