We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when compiling main swift class:
iosApp.swift:5:8: No such module 'NSExceptionKtCrashlytics'
iosApp.swift:
iosApp.swift
import UIKit import SwiftUI import ComposeApp import FirebaseCore import NSExceptionKtCrashlytics @main struct iosApp: App { init() { FirebaseApp.configure() NSExceptionKt.addReporter(.crashlytics(causedByStrategy: .append)) MainKt.ContextInit() KoinKt.doInitKoin() } var body: some Scene { WindowGroup { ContentView() } } }
build.gradle.kts:
build.gradle.kts
listOf( iosX64(), iosArm64(), iosSimulatorArm64() ).forEach { it.binaries.framework { isStatic = true export("com.rickclephas.kmp:nsexception-kt-core:1.0.0-BETA-1") } } val iosX64Main by getting val iosArm64Main by getting val iosSimulatorArm64Main by getting val iosMain by getting { dependencies { // ios ktor engine impl implementation(libs.ktor.client.darwin) // crashlytics special exception handling api(libs.nsexception) // com.rickclephas.kmp:nsexception-kt-core:1.0.0-BETA-1 } }
The text was updated successfully, but these errors were encountered:
Ah on closer examination I realize I needed the SPM dep. Is there a cocoapods distribution?
Sorry, something went wrong.
No a CocoaPods distribution isn't provided
No branches or pull requests
Error when compiling main swift class:
iosApp.swift:5:8: No such module 'NSExceptionKtCrashlytics'
iosApp.swift
:build.gradle.kts
:The text was updated successfully, but these errors were encountered: