File tree Expand file tree Collapse file tree 6 files changed +67
-2
lines changed
firebase-app/src/nativeInterop/cinterop
src/nativeInterop/cinterop Expand file tree Collapse file tree 6 files changed +67
-2
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ language = Objective-C
2
2
package = cocoapods.FirebaseCore
3
3
modules = FirebaseCore
4
4
compilerOpts = -framework FirebaseCore
5
- linkerOpts = -framework FirebaseCore -framework FirebaseCoreDiagnostics -framework FirebaseAnalytics -framework FIRAnalyticsConnector -framework GoogleAppMeasurement -framework FirebaseInstallations -framework GoogleDataTransport -framework GoogleUtilities -framework PromisesObjC -framework nanopb -framework StoreKit -lsqlite3
5
+ linkerOpts = -framework FirebaseCore -framework FirebaseCoreDiagnostics -framework FirebaseAnalytics -framework GoogleAppMeasurement -framework FirebaseInstallations -framework GoogleDataTransport -framework GoogleUtilities -framework PromisesObjC -framework nanopb -framework StoreKit -lsqlite3
Original file line number Diff line number Diff line change @@ -77,6 +77,22 @@ kotlin {
77
77
fun nativeTargetConfig (): KotlinNativeTarget .() -> Unit = {
78
78
val nativeFrameworkPaths = listOf (
79
79
rootProject.project(" firebase-app" ).projectDir.resolve(" src/nativeInterop/cinterop/Carthage/Build/iOS" )
80
+ ).plus(
81
+ listOf (
82
+ " FirebaseAnalytics" ,
83
+ " FirebaseCore" ,
84
+ " FirebaseCoreDiagnostics" ,
85
+ " FirebaseInstallations" ,
86
+ " GoogleAppMeasurement" ,
87
+ " GoogleDataTransport" ,
88
+ " GoogleUtilities" ,
89
+ " nanopb" ,
90
+ " PromisesObjC"
91
+ ).map {
92
+ val archVariant = if (konanTarget is KonanTarget .IOS_X64 ) " ios-arm64_i386_x86_64-simulator" else " ios-arm64_armv7"
93
+
94
+ rootProject.project(" firebase-app" ).projectDir.resolve(" src/nativeInterop/cinterop/Carthage/Build/$it .xcframework/$archVariant " )
95
+ }
80
96
).plus(
81
97
listOf (
82
98
" FirebaseAuth" ,
Original file line number Diff line number Diff line change @@ -53,6 +53,22 @@ kotlin {
53
53
fun nativeTargetConfig (): KotlinNativeTarget .() -> Unit = {
54
54
val nativeFrameworkPaths = listOf (
55
55
rootProject.project(" firebase-app" ).projectDir.resolve(" src/nativeInterop/cinterop/Carthage/Build/iOS" )
56
+ ).plus(
57
+ listOf (
58
+ " FirebaseAnalytics" ,
59
+ " FirebaseCore" ,
60
+ " FirebaseCoreDiagnostics" ,
61
+ " FirebaseInstallations" ,
62
+ " GoogleAppMeasurement" ,
63
+ " GoogleDataTransport" ,
64
+ " GoogleUtilities" ,
65
+ " nanopb" ,
66
+ " PromisesObjC"
67
+ ).map {
68
+ val archVariant = if (konanTarget is KonanTarget .IOS_X64 ) " ios-arm64_i386_x86_64-simulator" else " ios-arm64_armv7"
69
+
70
+ rootProject.project(" firebase-app" ).projectDir.resolve(" src/nativeInterop/cinterop/Carthage/Build/$it .xcframework/$archVariant " )
71
+ }
56
72
).plus(
57
73
listOf (
58
74
" FirebaseDatabase" ,
Original file line number Diff line number Diff line change @@ -55,12 +55,29 @@ kotlin {
55
55
fun nativeTargetConfig (): KotlinNativeTarget .() -> Unit = {
56
56
val nativeFrameworkPaths = listOf (
57
57
rootProject.project(" firebase-app" ).projectDir.resolve(" src/nativeInterop/cinterop/Carthage/Build/iOS" )
58
+ ).plus(
59
+ listOf (
60
+ " FirebaseAnalytics" ,
61
+ " FirebaseCore" ,
62
+ " FirebaseCoreDiagnostics" ,
63
+ " FirebaseInstallations" ,
64
+ " GoogleAppMeasurement" ,
65
+ " GoogleDataTransport" ,
66
+ " GoogleUtilities" ,
67
+ " nanopb" ,
68
+ " PromisesObjC"
69
+ ).map {
70
+ val archVariant = if (konanTarget is KonanTarget .IOS_X64 ) " ios-arm64_i386_x86_64-simulator" else " ios-arm64_armv7"
71
+
72
+ rootProject.project(" firebase-app" ).projectDir.resolve(" src/nativeInterop/cinterop/Carthage/Build/$it .xcframework/$archVariant " )
73
+ }
58
74
).plus(
59
75
listOf (
60
76
" abseil" ,
61
77
" BoringSSL-GRPC" ,
62
78
" FirebaseFirestore" ,
63
79
" gRPC-Core" ,
80
+ " gRPC-C++" ,
64
81
" leveldb-library"
65
82
).map {
66
83
val archVariant = if (konanTarget is KonanTarget .IOS_X64 ) " ios-arm64_i386_x86_64-simulator" else " ios-arm64_armv7"
Original file line number Diff line number Diff line change 1
- binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFirestoreBinary.json" == 8.1 .0
1
+ binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFirestoreBinary.json" == 8.2 .0
Original file line number Diff line number Diff line change @@ -47,6 +47,22 @@ kotlin {
47
47
fun nativeTargetConfig (): KotlinNativeTarget .() -> Unit = {
48
48
val nativeFrameworkPaths = listOf (
49
49
rootProject.project(" firebase-app" ).projectDir.resolve(" src/nativeInterop/cinterop/Carthage/Build/iOS" )
50
+ ).plus(
51
+ listOf (
52
+ " FirebaseAnalytics" ,
53
+ " FirebaseCore" ,
54
+ " FirebaseCoreDiagnostics" ,
55
+ " FirebaseInstallations" ,
56
+ " GoogleAppMeasurement" ,
57
+ " GoogleDataTransport" ,
58
+ " GoogleUtilities" ,
59
+ " nanopb" ,
60
+ " PromisesObjC"
61
+ ).map {
62
+ val archVariant = if (konanTarget is KonanTarget .IOS_X64 ) " ios-arm64_i386_x86_64-simulator" else " ios-arm64_armv7"
63
+
64
+ rootProject.project(" firebase-app" ).projectDir.resolve(" src/nativeInterop/cinterop/Carthage/Build/$it .xcframework/$archVariant " )
65
+ }
50
66
).plus(
51
67
listOf (
52
68
" FirebaseFunctions" ,
You can’t perform that action at this time.
0 commit comments