-
Notifications
You must be signed in to change notification settings - Fork 82
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
Crash when embedding molecule into an XCFramework and running it on an iOS app #547
Comments
We also have a display link clock in Redwood, so it's possible we need to port over some improvements from it. |
Hmm, I may try to rip the DisplayLinkClock code from Redwood, and rebuild Molecule locally with some I'm completely new to getting a Kotlin Multiplatform library to run on iOS, if there's any way you know where I can get you better error messages I'd be happy to enable whatever I need to. I'm really unsure if this is even a Molecule issue. Edit: It seems there is some redwood-specific stuff in the DisplayLInkClock. I'll just wait on an update, thanks for the help. |
This is the one we use in production: https://github.com/cashapp/redwood/blob/trunk/redwood-treehouse-host/src/iosMain/kotlin/app/cash/redwood/treehouse/IosDisplayLinkClock.kt It's not exactly the same setup as a "normal" |
I'm not sure if this is related, but I did find this article. Only linking because XCode also tells me https://www.nutrient.io/blog/dynamic-linking-crash-xcode-16/ |
Hello. I'm not entirely sure this is an error with Molecule itself or I am just setting up the Gradle code for building the XCFramework poorly. Any help would be appreciated. I am building a Kotlin Multiplatform module that uses Molecule for iOS and trying to run it mixed with Swift code.
Here is the error in XCode:
I've put the code in this repo. Running the Android app works perfectly using the
:Frontend
module, but just not having the same luck on iOS.https://github.com/danielPerez97/Pourover/
Steps to Recreate:
gradlew Frontend:assembleFourSixFrontendLibDebugXCFramework:
Frontend/build/XCFrameworks/debug/FourSixFrontendLib.xcframework
intoiOS/Pourover
Like I said I'm not sure this is a Molecule issue, and feel free to close it if it isn't.
Edit: Using XCode 16 + Swift 5
The text was updated successfully, but these errors were encountered: