Skip to content

Commit 299ab66

Browse files
committed
Explicit linking to prevent some issues
1 parent ad0ea39 commit 299ab66

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

firebase-firestore/build.gradle.kts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,16 @@ kotlin {
9292
baseName = "FirebaseFirestore"
9393
}
9494
noPodspec()
95-
pod("FirebaseFirestore") {
96-
version = "10.17.0"
97-
extraOpts += listOf("-compiler-option", "-fmodules")
98-
}
9995
// As of Firebase 10.17 Firestore has moved all ObjC headers to FirebaseFirestoreInternal and the kotlin cocoapods plugin does not handle this well
10096
// Adding it manually seems to resolve the issue
10197
pod("FirebaseFirestoreInternal") {
10298
version = "10.17.0"
10399
}
100+
pod("FirebaseFirestore") {
101+
version = "10.17.0"
102+
extraOpts += listOf("-compiler-option", "-fmodules")
103+
useInteropBindingFrom("FirebaseFirestoreInternal")
104+
}
104105
}
105106
}
106107

0 commit comments

Comments
 (0)