Skip to content

Commit 1f7a7b8

Browse files
committed
Do not convert CocoaPods' .pbxproject back to ASCII format
Only convert the main project's .pbxproject back to ASCII format as that's the only project modified by `node-xcode`. Xcode and CocoaPods are able to parse data from .pbxproject files regardless of their format - Binary, ASCII or XML
1 parent eae31e3 commit 1f7a7b8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/services/ios-project-service.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -503,10 +503,6 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
503503
return path.join(this.platformData.projectRoot, this.$projectData.projectName + IOSProjectService.XCODE_PROJECT_EXT_NAME);
504504
}
505505

506-
private get cocoaPodsXcodeprojPath(): string {
507-
return path.join(this.platformData.projectRoot, "Pods", "Pods" + IOSProjectService.XCODE_PROJECT_EXT_NAME);
508-
}
509-
510506
private get projectPodFilePath(): string {
511507
return path.join(this.platformData.projectRoot, "Podfile");
512508
}
@@ -682,7 +678,6 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
682678

683679
if (this.$xcprojService.getXcprojInfo().wait().shouldUseXcproj) {
684680
this.$childProcess.exec(`xcproj --project ${this.xcodeprojPath} touch`).wait();
685-
this.$childProcess.exec(`xcproj --project ${this.cocoaPodsXcodeprojPath} touch`).wait();
686681
}
687682

688683
return childProcess;

0 commit comments

Comments
 (0)