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
IOS release Failed to lookup symbol (dlsym(RTLD_DEFAULT, test_func): symbol not found) #7
Comments
Hey @hustxiaoc is this still a problem for you? I used this template to build a Flutter plugin referenced locally in my main Flutter app codebase. It works fine during development and as an Xcode run in release mode, but it does not work once the ios app is archived/bundled and exported/uploaded to Testflight. Looking at the bundled .ipa assets, my plugin binary does not appear, and is only referenced in the compiled app binary as a text reference (using |
@bugeats I've got the exact issue you've encountered. Here is a another discussion about this issue. dart-lang/native#897 |
@hustxiaoc try removing the line s.static_framework = true From the
Now create an Xcode archive build via the menu "Product -> Archive". Let me know if that solves your problem and I can offer some more of my notes. I'm exhausted with this issue at the moment. |
@bugeats Issue not solved. |
Hi @hustxiaoc, I'm sorry to be late on this, but where the readme says For some unexplainable reason:
I learnt it the hard way myself, I'm updating the Readme right now. |
It was ok in debug mode, but failed in release mode.
The text was updated successfully, but these errors were encountered: