Skip to content

Commit fb999cb

Browse files
authoredJan 19, 2021
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.
1 parent 682ed75 commit fb999cb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎bin/templates/project/__TEMP__.xcodeproj/project.pbxproj

+2
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@
328328
PRODUCT_BUNDLE_IDENTIFIER = "__PROJECT_ID__";
329329
PRODUCT_NAME = "$(TARGET_NAME)";
330330
TARGETED_DEVICE_FAMILY = "1,2";
331+
VALIDATE_WORKSPACE = NO;
331332
};
332333
name = Debug;
333334
};
@@ -350,6 +351,7 @@
350351
PRODUCT_BUNDLE_IDENTIFIER = "__PROJECT_ID__";
351352
PRODUCT_NAME = "$(TARGET_NAME)";
352353
TARGETED_DEVICE_FAMILY = "1,2";
354+
VALIDATE_WORKSPACE = NO;
353355
};
354356
name = Release;
355357
};

0 commit comments

Comments
 (0)