From 2b2fe93293a9e643ce1932762fa09db71a8e9f02 Mon Sep 17 00:00:00 2001 From: cdricms <36056008+cdricms@users.noreply.github.com> Date: Thu, 23 Jul 2026 23:30:03 +0200 Subject: [PATCH] build(apple): enable dead-code stripping and missing-localizability analyzer Adds project-wide build settings (applied to every target) so they persist in project.yml instead of the gitignored generated .xcodeproj: - DEAD_CODE_STRIPPING: strip unreachable code from release binaries - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED: flag user-facing strings that aren't localized (the app ships 9 languages), surfaced during Analyze --- apple/project.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apple/project.yml b/apple/project.yml index 3ec7665..b819d39 100644 --- a/apple/project.yml +++ b/apple/project.yml @@ -12,6 +12,14 @@ options: macOS: "15.0" createIntermediateGroups: true +# Project-wide build settings (applied to every target/config). +settings: + base: + # Strip unreachable code from release binaries. + DEAD_CODE_STRIPPING: YES + # Flag user-facing strings that aren't localized (the app ships 9 languages). + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED: YES + packages: VnidropCore: path: VnidropCore