Can't run iOS App: :shared:linkDebugFrameworkIos FAILED
See original GitHub issueHi,
I’m new to KMM and iOS development so maybe I’m missing something but as soon as I integrate the firebase KMM library, the iOS app stops building.
Issue
I’m not able to start the iOS app after adding Firebase Auth dependency. I’m getting the following error:
> Task :shared:linkDebugFrameworkIos FAILED
e: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld invocation reported errors
The /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld command returned non-zero exit code: 1.
output:
ld: framework not found FirebaseAuth
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':shared:linkDebugFrameworkIos'.
> Compilation finished with errors
What I did
I created a new KMM project via Android Studio and only added a dependency to Firebase Auth in build.gradle.kts (:shared)
:
val commonMain by getting {
dependencies {
implementation("dev.gitlive:firebase-auth:1.3.1")
}
}
I use 1.3.1
because 1.4.0
and 1.4.1
don’t seem to work for Android.
Thank you for your help!
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Unable to Run App on Device | Apple Developer Forums
When I try to run the app on my device directly in Xcode I get the following error. This happens after compiling and...
Read more >If an app on your iPhone or iPad stops responding, closes ...
If an app on your iPhone or iPad stops responding, closes unexpectedly, or won't open · Close and reopen the app. Force the...
Read more >If you can't download or update apps on your iPhone or iPad
Try this if you have an issue when you update or download apps from the App Store on your iPhone or iPad.
Read more >If you can't connect to the App Store, iTunes Store, or other ...
Learn what to do if you see a "Cannot connect" message, if an app won't load anything, or if content stops downloading.
Read more >If your iPhone or iPad won't update - Apple Support
If you can't install iOS 16 or iPadOS 16.1 on your iPhone or iPad. You might be unable to update your iPhone or...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Have you managed to solve the issue?
adding
pod("FirebaseAuth")
to my library which usesdev.gitlive:firebase-auth:1.4.3
gives me compile error