Skip to content

Commit b010fb8

Browse files
committed
Allow build.xcconfig in app/App_Resources/iOS/build.xcconfig
1 parent a08d207 commit b010fb8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/services/ios-project-service.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,12 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
793793
}
794794
}
795795

796+
let appResourcesXcconfigPath = path.join(this.$projectData.projectDir, constants.APP_FOLDER_NAME, constants.APP_RESOURCES_FOLDER_NAME, this.platformData.normalizedPlatformName, "build.xcconfig");
797+
if (this.$fs.exists(appResourcesXcconfigPath).wait()) {
798+
this.mergeXcconfigFiles(appResourcesXcconfigPath, this.pluginsDebugXcconfigFilePath).wait();
799+
this.mergeXcconfigFiles(appResourcesXcconfigPath, this.pluginsReleaseXcconfigFilePath).wait();
800+
}
801+
796802
let podFolder = path.join(this.platformData.projectRoot, "Pods/Target Support Files/Pods/");
797803
if (this.$fs.exists(podFolder).wait()) {
798804
this.mergeXcconfigFiles(path.join(this.platformData.projectRoot, "Pods/Target Support Files/Pods/Pods.debug.xcconfig"), this.pluginsDebugXcconfigFilePath).wait();

0 commit comments

Comments
 (0)