-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Unbound public symbol IrSimpleFunctionPublicSymbolImp error in iOS build #3175
Comments
I have same problem |
There is a workaround:
And then in can be used in ContentView.swift:
Created a patch which can be applied to the reproducer you provided: https://gist.github.com/eymar/c488eeed7df85d2024fa33090d1a66ca |
@sunildhiman90 |
Hi@adtarassov, Thanx, yes that will also fix this issue, But it may arise in other libraries as well. Then we will have to make similar changes in other libraries as well. So thats why as of now i did workaround mentioned here: #3175 (comment) Because i wanted a central common fix/workaround for this. So If we do this workaround, Then we will not have to worry about this issue anymore in other libraries until its fix available in compose. |
Hi @eymar, Actually after using that approach of separate iosEntryPoint module: #3175 (comment), now i am facing this issue in ios app:
Resources are missing i think now. do we have any workaround for that? May be its not able to copy resources for ios. But they are working fine in all other platforms. |
Hi, I have same problem, with voyager navigation, final data class TabOptions, used inside interface Tab, is not exported, it is either: does not open, final class, which was wrapped somehow unsuccessfully, or does not have generated getters and setters, or getters and setters are not exported, or interfaces can not have val fields after being exported, or may be empty get inside Tab class field options creates an issue ? I have no idea, what wrong with compiler. It helped to use internal but I can not use object construction for tabs |
Setting it to internal gets it compiling for me as well |
Adding the
|
+1 |
worked like a charm 👍 |
cant have tab internal because it is in another module, any other solution? |
Please try to use voyager 1.1.0-alpha03 and Compose Multiplatform 1.6.0 in all of your modules The issue was fixed in the compiler plugin a while ago, but the libraries should also be recompiled and I see that latest alpha of Voyager depends on CM 1.6.0-rc02 - so it should work IMO This way no "add internal" workarounds should be necessary |
I'm closing this issue as fixed. |
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks. |
Describe the bug
After adding voyager library in compose multiplatform project, getting this error in ios build:
Affected platforms
Select one of the platforms below:
Versions
To Reproduce
Steps and/or the code snippet to reproduce the behaviour:
https://github.com/sunildhiman90/compose-multiplatform-template-with-navigation
and choose the branch with-voyager-navigation
The text was updated successfully, but these errors were encountered: