Skip to content

Commit

Permalink
Explicit linking to prevent some issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Daeda88 committed Nov 20, 2023
1 parent ad0ea39 commit 299ab66
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions firebase-firestore/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,16 @@ kotlin {
baseName = "FirebaseFirestore"
}
noPodspec()
pod("FirebaseFirestore") {
version = "10.17.0"
extraOpts += listOf("-compiler-option", "-fmodules")
}
// As of Firebase 10.17 Firestore has moved all ObjC headers to FirebaseFirestoreInternal and the kotlin cocoapods plugin does not handle this well
// Adding it manually seems to resolve the issue
pod("FirebaseFirestoreInternal") {
version = "10.17.0"
}
pod("FirebaseFirestore") {
version = "10.17.0"
extraOpts += listOf("-compiler-option", "-fmodules")
useInteropBindingFrom("FirebaseFirestoreInternal")
}
}
}

Expand Down

0 comments on commit 299ab66

Please sign in to comment.