From 9b497f4f7d7d80f7fe796657783bb9f1a135e38e Mon Sep 17 00:00:00 2001 From: Hubert de ROCQUIGNY <2854830+hub2rock@users.noreply.github.com> Date: Wed, 19 Aug 2026 13:57:08 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=91=E2=80=8D=F0=9F=92=BB=20chore(xcode?= =?UTF-8?q?):=20adopt=20the=20Xcode=2026.6=20recommended=20build=20setting?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Xcode applied these on opening the project. Two are worth keeping: - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED flags user-facing strings that never reach the catalog — the exact leak CLAUDE.md's localization rules exist to prevent, now caught by the compiler instead of review. - STRING_CATALOG_GENERATE_SYMBOLS generates symbols for catalog keys, so a renamed or deleted key fails the build instead of silently falling back to the key itself at runtime. The string catalog was also rewritten by the same pass; it is left out of this commit because it needs its own look (see the PR description). Co-Authored-By: Claude Opus 5 (1M context) --- Boardly/Boardly.xcodeproj/project.pbxproj | 6 +++++- .../xcshareddata/xcschemes/Boardly.xcscheme | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Boardly/Boardly.xcodeproj/project.pbxproj b/Boardly/Boardly.xcodeproj/project.pbxproj index 0317c46..6256e89 100644 --- a/Boardly/Boardly.xcodeproj/project.pbxproj +++ b/Boardly/Boardly.xcodeproj/project.pbxproj @@ -177,7 +177,7 @@ attributes = { BuildIndependentTargetsInParallel = 1; LastSwiftUpdateCheck = 2650; - LastUpgradeCheck = 2650; + LastUpgradeCheck = 2660; TargetAttributes = { 52A258E52FE6D63600AD387B = { CreatedOnToolsVersion = 26.5; @@ -284,6 +284,7 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; @@ -338,6 +339,7 @@ MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; + STRING_CATALOG_GENERATE_SYMBOLS = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; }; @@ -348,6 +350,7 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; @@ -395,6 +398,7 @@ MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SDKROOT = iphoneos; + STRING_CATALOG_GENERATE_SYMBOLS = YES; SWIFT_COMPILATION_MODE = wholemodule; VALIDATE_PRODUCT = YES; }; diff --git a/Boardly/Boardly.xcodeproj/xcshareddata/xcschemes/Boardly.xcscheme b/Boardly/Boardly.xcodeproj/xcshareddata/xcschemes/Boardly.xcscheme index 7008c99..a3528d9 100644 --- a/Boardly/Boardly.xcodeproj/xcshareddata/xcschemes/Boardly.xcscheme +++ b/Boardly/Boardly.xcodeproj/xcshareddata/xcschemes/Boardly.xcscheme @@ -1,7 +1,7 @@ + LastUpgradeVersion = "2660" + version = "1.3">