Skip to content

Simplify iOS GoogleService-Info.plist handling (mirror AdTrack) #4795

Description

@mustafaozhan

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions