Skip to content
New issue

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

chore(deps): update dependency firebase/firebase-ios-sdk to from: 10.23.0 #481

Merged
merged 4 commits into from
Apr 3, 2024

Conversation

tomu28
Copy link
Contributor

@tomu28 tomu28 commented Mar 26, 2024

update dependency firebase/firebase-ios-sdk to from: 10.23.0


Resolves:

@nbransby
Copy link
Member

nbransby commented Apr 1, 2024

Hi @tomu28, the ios build appears to fail with Error: Exception in thread "main" org.jetbrains.kotlin.native.interop.gen.CInteropPrettyException: It seems that library is using clang modules. Try adding -compiler-option -fmodules to cinterop.
Do you get the same result locally?

@nbransby nbransby merged commit bccc1a9 into GitLiveApp:master Apr 3, 2024
1 of 3 checks passed
@tomu28
Copy link
Contributor Author

tomu28 commented Apr 4, 2024

@nbransby
I apologize for the delay in confirming this locally. 🙇

Environment being used:

  • Xcode 15.3(15E204a)
  • Android Studio Hedgehog | 2023.1.1 Patch 1

As of commit 33956f5, the following error occurred locally as well:

> Task :firebase-crashlytics:cinteropFirebaseCrashlyticsIosX64
Exception in thread "main" org.jetbrains.kotlin.native.interop.gen.CInteropPrettyException: It seems that library is using clang modules. Try adding `-compiler-option -fmodules` to cinterop.
For example, in case of cocoapods plugin:

pod("PodName") {
    // Add these lines
    extraOpts += listOf("-compiler-option", "-fmodules")
}
	at org.jetbrains.kotlin.native.interop.gen.ClangModulesDisabledPrettifier.prettify(ExceptionPrettifiers.kt:36)
	at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.processCLib(main.kt:713)
	at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.processCLibSafe(main.kt:243)
	at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.access$processCLibSafe(main.kt:1)
	at org.jetbrains.kotlin.native.interop.gen.jvm.Interop.interop(main.kt:101)
	at org.jetbrains.kotlin.cli.utilities.InteropCompilerKt.invokeInterop(InteropCompiler.kt:47)
	at org.jetbrains.kotlin.cli.utilities.MainKt.mainImpl(main.kt:23)
	at org.jetbrains.kotlin.cli.utilities.MainKt.main(main.kt:45)

After adding the specification of extraOpts += listOf("-compiler-option", "-fmodules") as in commit 46df8f2, I have confirmed that the issue has been resolved.

Thank you for making the additional commit!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants