From 0abf25c876ac3cd7910ce85459b6347f34823a6e Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Sat, 10 Jan 2026 15:50:31 -0600 Subject: [PATCH] Signed-off-by: Matt Bruce --- Agents.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Agents.md b/Agents.md index d21d466..9a15adc 100644 --- a/Agents.md +++ b/Agents.md @@ -544,6 +544,10 @@ Add keys to `Info.plist` that bridge xcconfig values to Swift: #### Step 5: Create Swift Interface +**Why this is needed:** Swift code cannot read xcconfig files directly. The xcconfig values flow through Info.plist, and this Swift file provides a clean API to access them at runtime. Without this file, you'd have to call `Bundle.main.object(forInfoDictionaryKey:)` everywhere you need an identifier. + +**When to use:** Any Swift code that needs App Group identifiers, CloudKit containers, custom domains, or other configuration values must use `AppIdentifiers.*` instead of hardcoding strings. + Create `Configuration/AppIdentifiers.swift`: ```swift