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
Can't access files from Swift #97
Comments
Is this project still active? |
@RomeuG hi. |
@Alex009 Hey! Thanks for responding! :-) Sometime this week I will try your Sample. Unfortunately, I am not able to provide the reproducer project. |
Sorry, other things had priority over this. Finally I tested the samples. It seems the problem is on my end. Regardless, I will be trying to fix this on my project and I will report back with the solution. |
I have made a project with the bug: https://github.com/RomeuG/moko-resources-sample-bug It is kinda confusing with the names and such, but I hadn't much time to prepare it. Edit: Should be opened with Xcode 12.0 |
@RomeuG big thanks for demo projec! i will debug problem on next week |
No problem, really. I hope it serves you well and I also hope it is more than enough for you to actually be able to solve the problem. If you want me to change anything or have any question about the sample project, don't hesitate to ask! :-) |
i think problem solved here 9b02f36 maybe i do 0.11.2 release with this fix on kotlin 1.3.72 |
Hey! That's great, thank you very much for the fix. I will have to try it on a 0.11.2 release... that would be awesome! :-) EDIT: the fix for kotlin 1.3.72 is in my interest. Would you be able to do it? |
@RomeuG hi! are you try 0.11.1 version? it resolve your issue? |
@Alex009 Hi! Yes, it did solve my issue! Thank you very much! :-) |
Hello!
This is a very similar issue to #80 .
Regardless, it is being added as Embed&Sign and yet, when I try to access the files through the debugger, I get this:
If I try to access it through the Kotlin MPP shared code, a NullPointerException is guaranteed:
Everything works fine on Android and in both platforms the MR stuff generation is done.
What could be causing this?
Thanks.
Edit:
It seems the
NullPointerException
comes fromloadableBundle()
extension from Moko-Resources.But I do not know which line specifically. Could be
return NSBundle.bundleWithIdentifier(identifier)!!
.I should also say that the iOS app is being ran on iOS 14.
The text was updated successfully, but these errors were encountered: