Skip to content

Commit 1848c30

Browse files
committed
chore: fix PR comments
1 parent c7876f1 commit 1848c30

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/services/ios-project-service.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,10 @@ We will now place an empty obsolete compatability white screen LauncScreen.xib f
980980
public async handleNativeDependenciesChange(projectData: IProjectData): Promise<void> {
981981
const projectRoot = this.getPlatformData(projectData).projectRoot;
982982
const xcodeProjPath = this.getXcodeprojPath(projectData);
983-
await this.$cocoapodsService.executePodInstall(projectRoot, xcodeProjPath);
983+
const projectPodfilePath = this.$cocoapodsService.getProjectPodfilePath(projectRoot);
984+
if (this.$fs.exists(projectPodfilePath)) {
985+
await this.$cocoapodsService.executePodInstall(projectRoot, xcodeProjPath);
986+
}
984987
}
985988

986989
public async checkForChanges(changesInfo: IProjectChangesInfo, { provision, teamId }: IProjectChangesOptions, projectData: IProjectData): Promise<void> {

0 commit comments

Comments
 (0)