fix: Flutter Kotlin issues, add SPM support, verify Flutter 3.44.1#305
fix: Flutter Kotlin issues, add SPM support, verify Flutter 3.44.1#305kmmhanan wants to merge 6 commits into
Conversation
There was a problem hiding this comment.
I approved this PR for the Android portion
Tested/verified your PR #305 on our builds of iOS and macOS and Android
The PR builds but does not actually works at runtime, heres the details:
Logging is now in place. Now regarding the actual error — dlsym(RTLD_DEFAULT): symbol not found for 'TfLiteModelCreate' — this means the TensorFlowLiteC framework is not being linked into the iOS app. This is exactly the problem PR #305 was meant to fix via SPM. Let me check what that PR actually provides:
Now the root cause is clear. PR #305 adds a stub Package.swift that just registers the Flutter channel — but it doesn't declare TensorFlowLiteC as a binary dependency. The CocoaPods version pulled in TensorFlowLiteSwift pod (which contains the C library). SPM has no equivalent yet, so TfLiteModelCreate is simply never linked into the iOS app.
The PR fixes the SPM warning, but not the actual TFLite linkage on iOS.
|
Okay. I'll figure out the solution for it. |
|
@jpdup I fixed the TensorFlowLiteC framework link issue in iOS. Check out the new commit #42c844f |
|
@jpdup Now Fixed MacOS SPM issue. Currently MacOS will support SPM & CocoaPods. |
|
Great, LMK once u merged & published. so I can use the official version. |
jpdup
left a comment
There was a problem hiding this comment.
I tested against our fCards game. Detecting real physical cards values on a table
|
@PaulTR @margaretmz PR #305 is ready for merge. Tested on iOS, macOS, and Android by @jpdup including real-world inference. |
|
Yeah I'll look into the process of public maintainers again next week. I
took over robotics a couple years ago and there's a different odml dev rel
person so I haven't had this on my radar with the insane amount of work I
have going on from my side.
…On Sat, Jun 13, 2026, 11:12 AM Kmm Hanan ***@***.***> wrote:
*kmmhanan* left a comment (tensorflow/flutter-tflite#305)
<#305 (comment)>
@jpdup <https://github.com/jpdup> I wonder why @PaulTR
<https://github.com/PaulTR> not yet merge this PR?
Seem like this repo is dead (zombie), last commit was 8 months ago 85fb92e
<85fb92e>
Disappointing
—
Reply to this email directly, view it on GitHub
<#305?email_source=notifications&email_token=AAR2C34Y2HEKPIXI5VMRPWL47WDPXA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRZHEZDCNJTHA2KM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-4699215384>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR2C357Y6BSLN4W5XS5MGT47WDPXAVCNFSNUABFKJSXA33TNF2G64TZHM3DGMZRGMYTEMRSHNEXG43VMU5TINRQGEYTONZZGY32C5QC>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/AAR2C32OWTPEQ6SSQZHGIFL47WDPXA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRZHEZDCNJTHA2KM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJKTGN5XXIZLSL5UW64Y>
and Android
<https://github.com/notifications/mobile/android/AAR2C3ZOWHMQDI226PCXK5347WDPXA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRZHEZDCNJTHA2KM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLTGN5XXIZLSL5QW4ZDSN5UWI>.
Download it today!
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
Thanks, @PaulTR . Appreciate you checking on the maintainer process. Please let me know if I should loop in the current ODML contact so this PR gets proper review. |
Release 0.12.2
ios/andmacos/folders to enable proper SPM integration