You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by dp...@apache.org on 2021/01/19 19:56:13 UTC

[cordova-ios] branch master updated: GH-1059: Add VALIDATE_WORKSPACE setting to XcodeProj (#1060)

This is an automated email from the ASF dual-hosted git repository.

dpogue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-ios.git


The following commit(s) were added to refs/heads/master by this push:
     new fb999cb  GH-1059: Add VALIDATE_WORKSPACE setting to XcodeProj (#1060)
fb999cb is described below

commit fb999cbaea8105be5b083149baaa8f91e6b09211
Author: Darryl Pogue <da...@dpogue.ca>
AuthorDate: Tue Jan 19 11:56:03 2021 -0800

    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 e83ffbb..bb02281 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;
 		};


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org