mirzemehdi / KMPNotifier

Kotlin Multiplatform Push Notification Library targetting android, iOS, Desktop and Web (JS and Wasm)
http://mirzemehdi.com/KMPNotifier/
Apache License 2.0
340 stars 19 forks source link

Rebuild in Android Studio failed on compileIosMainKotlinMetadata after add KMPNotifier library #16

Closed Sabriel1984 closed 6 months ago

Sabriel1984 commented 8 months ago

Logs below:

Task :composeApp:compileIosMainKotlinMetadata FAILED e: Could not find "/Users/krajchel/Development/AndroidStudio/KotlinMultiplatformApp/composeApp/build/kotlinTransformedMetadataLibraries/iosMain/io.github.mirzemehdi-kmpnotifier-0.3.0-appleMain-osY2hg.klib" in [/Users/krajchel/Development/AndroidStudio/KotlinMultiplatformApp, /Users/krajchel/.konan/klib, /Users/krajchel/.konan/kotlin-native-prebuilt-macos-aarch64-1.9.22/klib/common, /Users/krajchel/.konan/kotlin-native-prebuilt-macos-aarch64-1.9.22/klib/platform/ios_x64]

Execution failed for task ':composeApp:compileIosMainKotlinMetadata'.

Compilation finished with errors

Task :composeApp:linkDebugFrameworkIosArm64 w: Interop library /Users/krajchel/.gradle/caches/modules-2/files-2.1/io.github.mirzemehdi/kmpnotifier-iosarm64/0.3.0/d7e9ccadb56ba8ce17fa35f2c9746029d231b99b/kmpnotifier-cinterop-FirebaseMessaging can't be exported with -Xexport-library

mirzemehdi commented 7 months ago

Can't reproduce this. Can you please give more information @Sabriel1984

mirzemehdi commented 6 months ago

Closing this issue due to inactivity. If this is still an issue or need a help, please feel free to reopen the issue and provide additional context or updates. Thank you.