summaryrefslogtreecommitdiff
path: root/Modules/CompilerId
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-06-10 12:29:28 -0400
committerBrad King <brad.king@kitware.com>2022-06-10 14:22:40 -0400
commit89e1113e0cf16be3fddfee4a57324010d0377056 (patch)
tree10785e65f306be40ed363afa02ae9fa82780ab8e /Modules/CompilerId
parentb243367b360065dd9734d86c20918202e5d7145b (diff)
downloadcmake-89e1113e0cf16be3fddfee4a57324010d0377056.tar.gz
Xcode: Use ad-hoc signing during compiler id on macOS
Xcode 14 no longer accepts an empty signing identity for macOS. However, Xcode in general does not accept an ad-hoc signing identity for iOS. Switch based on the target platform. Fixes: #23609
Diffstat (limited to 'Modules/CompilerId')
-rw-r--r--Modules/CompilerId/Xcode-3.pbxproj.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CompilerId/Xcode-3.pbxproj.in b/Modules/CompilerId/Xcode-3.pbxproj.in
index aab357a1e9..cca54bc6eb 100644
--- a/Modules/CompilerId/Xcode-3.pbxproj.in
+++ b/Modules/CompilerId/Xcode-3.pbxproj.in
@@ -72,7 +72,7 @@
1DEB928608733DD80010E9CD = {
isa = XCBuildConfiguration;
buildSettings = {
- CODE_SIGN_IDENTITY = "";
+ CODE_SIGN_IDENTITY = "@id_code_sign_identity@";
PRODUCT_NAME = CompilerId@id_lang@;
};
name = Debug;