Skip to content

Commit 15eb852

Browse files
authored
[Infra] Disable Auth deprecations warnings in SPM CI (#14013)
1 parent ae25542 commit 15eb852

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/spm.yml

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ concurrency:
2121
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
2222
cancel-in-progress: true
2323

24+
env:
25+
FIREBASE_CI: true
26+
2427
jobs:
2528
spm-package-resolved:
2629
env:

Package.swift

+1
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,7 @@ let package = Package(
419419
"ObjC", "Public",
420420
],
421421
resources: [.process("Resources/PrivacyInfo.xcprivacy")],
422+
swiftSettings: Context.environment["FIREBASE_CI"] != nil ? [.define("FIREBASE_CI")] : [],
422423
linkerSettings: [
423424
.linkedFramework("Security"),
424425
.linkedFramework("SafariServices", .when(platforms: [.iOS])),

0 commit comments

Comments
 (0)