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
[spine-flutter] not compatible with use_frameworks! :linkage => :static
#2438
Comments
I'm afraid I have no experience with |
I'm not sure whether this plugin needs any configurations else, as I cannot find spine_flutter.framework in the |
I've tested a simple add2app example, only a little different from my iOS host project, this plugin runs as expected. The main difference is in Podfile # Simple add2app example
use_frameworks! # My iOS host project
use_frameworks! :linkage => :static It seems not compatible with Then I changed the Podfile of the simple add2app example with So the real problem is that this plugin cannot be used with In my iOS host project, some other static libraries are required, so Could this plugin support using static library? |
Also tried the example in spine-flutter, adding |
use_frameworks! :linkage => :static
Sorry for this taking so long. I believe I have fixed this. You will have to adjust the way spine-flutter is initialized. E.g. await initSpineFlutter(useStaticLinkage: true); This will instruct Dart FFI to lookup symbols in the process/executable instead of trying to locate them in a framework. I've published a new spine_flutter package to pub.dev, version 4.2.24. |
Adding
spine_flutter
to a Flutter module (for add2app usage), and run the host iOS project, it can't find the spine_flutter.framework/spine_flutter when opening Flutter page in Debug modeFlutter SDK version is 3.7.12
spine_flutter version is 4.2.12
The text was updated successfully, but these errors were encountered: