Closed corrado4eyes closed 4 years ago
In the end I solved my problem, but using the latest version of Firebase sdk (so I still get this Undefined symbols for architecture x86_64
using older version).
Basically I'm using BuildKonfig to inject parameter like in Android's BuildConfig and I defined n-values in my local.properties
as:
firebaseApiKey="apiKey"
firebaseProjectId="projectId"
firebaseDbUrl="dbUrl"
firebaseAppName="appName"
storageBucket="storageBucket"
Apparently Android could handle the double quotes since no Exception was thrown or message printed and I could normally call my cloud functions, but ios couldn't. The error was thrown with the double quotes on firebaseProjectId value, removing those solved this error:
dev.gitlive.firebase.functions.FirebaseFunctionsException: Error Domain=com.google.GTMSessionFetcher Code=-1 "(null)" UserInfo={NSErrorFailingURLStringKey=(missing URL)}
Description: Hi guys, I'm getting the following error during
linkDebugFrameworkIos
task:I had the same problem described in #36 and I could solve it as suggested (And since I'm using FirebaseFunctions, I did the same for it).
I've been trying a bunch of solution found on the web like adding
$(inherited)
in Other Linker Flags, or cleaning DerivedData, but none of them worked.Then I could solve it downloading the latest version of Firebase sdk and adding
linkerOpts
in my build.gradle.kts (the shared one), but when I call the cloud function from shared code, I get this error:This is my build.gradle.kts:
Kotlin Version: 1.3.72. Android Studio Version: 4.0. Xcode Version: 11.6.
I hope I gave you enough info and that they're relevant. Thanks in advance!