From fb999cbaea8105be5b083149baaa8f91e6b09211 Mon Sep 17 00:00:00 2001 From: Darryl Pogue Date: Tue, 19 Jan 2021 11:56:03 -0800 Subject: [PATCH] GH-1059: Add VALIDATE_WORKSPACE setting to XcodeProj (#1060) In Xcode 12, if an app is linked against .framework files with multiple architectures, it will generate an error about embedded framework mismatches. Declaring this property (even with its default value of NO) resolves the issue. --- bin/templates/project/__TEMP__.xcodeproj/project.pbxproj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/templates/project/__TEMP__.xcodeproj/project.pbxproj b/bin/templates/project/__TEMP__.xcodeproj/project.pbxproj index e83ffbbc0..bb02281a2 100755 --- a/bin/templates/project/__TEMP__.xcodeproj/project.pbxproj +++ b/bin/templates/project/__TEMP__.xcodeproj/project.pbxproj @@ -328,6 +328,7 @@ PRODUCT_BUNDLE_IDENTIFIER = "__PROJECT_ID__"; PRODUCT_NAME = "$(TARGET_NAME)"; TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_WORKSPACE = NO; }; name = Debug; }; @@ -350,6 +351,7 @@ PRODUCT_BUNDLE_IDENTIFIER = "__PROJECT_ID__"; PRODUCT_NAME = "$(TARGET_NAME)"; TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_WORKSPACE = NO; }; name = Release; };