mirzemehdi / KMPAuth

Kotlin Multiplatform Authentication Library targetting android and iOS
https://mirzemehdi.com/KMPAuth/
Apache License 2.0
231 stars 19 forks source link

Build fails when implementing KMPAuth #4

Closed BehnamMaboodi closed 8 months ago

BehnamMaboodi commented 10 months ago

When I implement KMPAuth in common source set, builds for iOS result in failure with the following error message:

Task :shared:compileKotlinIosX64 FAILED
error: Could not find "org.jetbrains.compose.ui:ui-uikit-cinterop-utils" in [/Users/project name/Pods, /Users/project name/.konan/klib, /Users/projectname/.konan/kotlin-native-prebuilt-macos-x86_64-1.9.21/klib/common, /Users/projectname/.konan/kotlin-native-prebuilt-macos-x86_64-1.9.21/klib/platform/ios_x64]
mirzemehdi commented 10 months ago

@BehnamMaboodi 1)Does this only happens for ios? and in Android it works? 2) Could you please make sure that in Xcode you added Firebase, and GoogleSignIn, Please try with Swift Package Manager as well.

BehnamMaboodi commented 8 months ago

Thanks for your help It was related to compose version conflict.