AdTrack landed a simpler iOS Firebase-plist setup than CCC's; consider mirroring it back here.
CCC today:
ios/CCC/Resources/{Debug,Release}/GoogleService-Info.plist decrypted by add-secret-files.
- A committed fake
ios/CCC/Resources/GoogleService-Info.plist placeholder (good — keep this idea).
- An Xcode build-phase script gated on
$CI copies Resources/$CONFIGURATION/GoogleService-Info.plist over the placeholder.
AdTrack approach (simpler):
- Same committed fake placeholder so fresh clones / local builds compile.
add-secret-files decrypts the correct variant straight into the referenced GoogleService-Info.plist (chosen by BUILD_TYPE) — no Resources/$CONFIGURATION/ subdirs and no $CI-gated build-phase script.
.gitignore ignores the real GoogleService-Info-*.plist variants + *.asc; only the placeholder is tracked.
Proposed: drop the $CI-gated copy build phase and the Resources/{Debug,Release} split; have add-secret-files write the per-variant plist directly to the referenced path. Fewer moving parts, same behavior. (See Oztechan/AdTrack#53.)
Low priority — CCC works today; this is a cleanup for consistency.
AdTrack landed a simpler iOS Firebase-plist setup than CCC's; consider mirroring it back here.
CCC today:
ios/CCC/Resources/{Debug,Release}/GoogleService-Info.plistdecrypted byadd-secret-files.ios/CCC/Resources/GoogleService-Info.plistplaceholder (good — keep this idea).$CIcopiesResources/$CONFIGURATION/GoogleService-Info.plistover the placeholder.AdTrack approach (simpler):
add-secret-filesdecrypts the correct variant straight into the referencedGoogleService-Info.plist(chosen byBUILD_TYPE) — noResources/$CONFIGURATION/subdirs and no$CI-gated build-phase script..gitignoreignores the realGoogleService-Info-*.plistvariants +*.asc; only the placeholder is tracked.Proposed: drop the
$CI-gated copy build phase and theResources/{Debug,Release}split; haveadd-secret-fileswrite the per-variant plist directly to the referenced path. Fewer moving parts, same behavior. (See Oztechan/AdTrack#53.)Low priority — CCC works today; this is a cleanup for consistency.