Skip to content

Commit f966c05

Browse files
authored
[Firestore] Add linked frameworks to Firestore wrapper target (#11329)
1 parent 7d60442 commit f966c05

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Package.swift

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,12 @@ let package = Package(
668668
"FirebaseCore",
669669
"leveldb",
670670
],
671-
path: "SwiftPM-PlatformExclude/FirebaseFirestoreWrap"
671+
path: "SwiftPM-PlatformExclude/FirebaseFirestoreWrap",
672+
linkerSettings: [
673+
.linkedFramework("SystemConfiguration", .when(platforms: [.iOS, .macOS, .tvOS])),
674+
.linkedFramework("UIKit", .when(platforms: [.iOS, .tvOS])),
675+
.linkedLibrary("c++"),
676+
]
672677
),
673678

674679
.binaryTarget(

0 commit comments

Comments
 (0)