Skip to content

Commit

Permalink
GH-1059: Add VALIDATE_WORKSPACE setting to XcodeProj (#1060)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dpogue authored Jan 19, 2021
1 parent 682ed75 commit fb999cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/templates/project/__TEMP__.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@
PRODUCT_BUNDLE_IDENTIFIER = "__PROJECT_ID__";
PRODUCT_NAME = "$(TARGET_NAME)";
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_WORKSPACE = NO;
};
name = Debug;
};
Expand All @@ -350,6 +351,7 @@
PRODUCT_BUNDLE_IDENTIFIER = "__PROJECT_ID__";
PRODUCT_NAME = "$(TARGET_NAME)";
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_WORKSPACE = NO;
};
name = Release;
};
Expand Down

0 comments on commit fb999cb

Please sign in to comment.