-
Notifications
You must be signed in to change notification settings - Fork 28
dlsym symbol not found on iOS builds when using certain packages #5677
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
Comments
Hello! I’m sorry to hear you’re experiencing this error. This type of error occurs because the library isn’t exporting a symbol correctly (in this case, I wanted to check if this error persists with the latest FlutterFlow update. Also, make sure that the dependency is compatible with the minimum iOS version you’ve set. Additionally, I found that the issue might be related to the dependency itself. I hope this helps! Let me know if you’re still encountering the problem. |
Hi @Juansarmi, I have just retested with specifying |
Hi again! |
Is there anything in particular from that page you're referencing? My other project uses many custom pub spec dependencies and this is the only one I'm having issues with. I believe the issue is more related to how the package uses linked lower level libraries and how FlutterFlow creates the Xcode project. |
Hi again! If you’re looking for help building or debugging a custom widget, we recommend reaching out to our support team. You can do that either by email at support@flutterflow.io, or through the in-app chat available within FlutterFlow. |
I believe the issue is potentially with how FlutterFlow is setting up the Xcode project as when I create the project directly within Flutter using the repo's example code, everything works as expected. Only when using this package within FlutterFlow does it break. Is there any other debug I can help with? |
Hi again! |
@Juansarmi, it looks like the package developer was able to partially fix this (see jerson/flutter-rsa#19 (comment)) through a change to using |
Can we access your project?
Current Behavior
FlutterFlow iOS builds don't compile correctly for the fast_rsa package (https://pub.dev/packages/fast_rsa / https://github.com/jerson/flutter-rsa). There appears to be some linking issue but I am not technically able to investigate at that level. When building the fast_rsa's example app directly in Flutter, things work as expected. But when creating a very simple FlutterFlow app that replicates the author's example, I receive the following error:
Here is the example function I am running on page load:
I posted about this issue directly on the fast_rsa GitHub repo and the author suspects it has something to do with how FlutterFlow is setting up the podfile / Xcode. See here for more info - jerson/flutter-rsa#19 (comment) and the attached FF build log - BuildLog.txt
Also, I tried both the async and sync methods of fast_rsa and both result in the same symbol error. The latter does "not rely on Isolate and interact directly with the Bridge" - jerson/flutter-rsa#19 (comment)
Expected Behavior
No errors
Steps to Reproduce
encryptionPublicKey
andencryptionPrivateKey
fast_rsa
added in the PubSpec dependency and add the following code:Reproducible from Blank
Bug Report Code (Required)
ITESz/Hqx89gof1A0M+ALe5QhQIgQ0QnU7gnlO1ucx4bCOvzPex/ZuP7PkNKTcuEfwk7HVSjhnID0a3tv4XiUsYBCzOBbot80JVAEDnKWlqWMb6MEs3hT3wlJ9lXChHA5KbYmSN5PutpSWQf2FOlNq3qNleeY8aSfxBlZ7vfcPo=
Visual documentation
See above
Environment
Additional Information
No response
The text was updated successfully, but these errors were encountered: