am15h / tflite_flutter_plugin

TensorFlow Lite Flutter Plugin
https://pub.dev/packages/tflite_flutter
Apache License 2.0
499 stars 352 forks source link

Failed to build iOS app Error (Xcode): Framework not found TensorFlowLiteC #219

Open Mmisiek opened 1 year ago

Mmisiek commented 1 year ago

I have everything working just fine and this morning it stop :( with error: Failed to build iOS app Error (Xcode): Framework not found TensorFlowLiteC

I have TensorFlowLiteC in pub-cache as described, what else could break ?

Szymon-Gesicki commented 1 year ago

Hi, I also have the same problem. Everything was working, I did an update to flutter 3.7 and I get this error

Mmisiek commented 1 year ago

Try the workaround with copying framework to .plugins directory. Worked gor me.

On Fri, Jan 27, 2023, 03:06 Szymon-Gesicki @.***> wrote:

Hi, I also have the same problem. Everything was working, I did an update to flutter 3.7 and I get this error

— Reply to this email directly, view it on GitHub https://github.com/am15h/tflite_flutter_plugin/issues/219#issuecomment-1406347365, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABC7O4MXAQWHBE3BBJEH2UTWUOT3RANCNFSM6AAAAAAUGZDL4U . You are receiving this because you authored the thread.Message ID: @.***>

walsha2 commented 1 year ago

Repo is seemingly no longer maintained - please upvote #221

JunHeyy commented 1 year ago

Try the workaround with copying framework to .plugins directory. Worked gor me.

On Fri, Jan 27, 2023, 03:06 Szymon-Gesicki @.***> wrote:

Hi, I also have the same problem. Everything was working, I did an update to flutter 3.7 and I get this error

— Reply to this email directly, view it on GitHub https://github.com/am15h/tflite_flutter_plugin/issues/219#issuecomment-1406347365, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABC7O4MXAQWHBE3BBJEH2UTWUOT3RANCNFSM6AAAAAAUGZDL4U . You are receiving this because you authored the thread.Message ID: @.***>

Thanks

MichalOneNav commented 1 year ago

Workarounds do not work on M2 :(

JunHeyy commented 1 year ago

Workarounds do not work on M2 :(

Oh.. didn't know there is a difference for different machine. Just in case, the folder is hidden inside your application directory -> ios ->.symlink(hidden) -> tflite_flutter -> ios (place TensorFlowLiteC.framework here)

MichalOneNav commented 1 year ago

Yes I know. On my Intel Mac it works. On M2 does not. I have no idea why.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: JunHeyy @.> Sent: Monday, February 13, 2023 12:50:52 AM To: am15h/tflite_flutter_plugin @.> Cc: Michal Misiaszek @.>; Comment @.> Subject: [EXTMAIL]Re: [am15h/tflite_flutter_plugin] Failed to build iOS app Error (Xcode): Framework not found TensorFlowLiteC (Issue #219)

Workarounds do not work on M2 :(

Oh.. didn't know there is a difference for different machine. Just in case, the folder is hidden inside your application directory -> ios ->.symlink(hidden) -> tflite_flutter -> ios (place TensorFlowLiteC.framework here)

— Reply to this email directly, view it on GitHubhttps://github.com/am15h/tflite_flutter_plugin/issues/219#issuecomment-1427558811, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVOUUSJJM6BYOYG3FYTRS7DWXHYWZANCNFSM6AAAAAAUGZDL4U. You are receiving this because you commented.Message ID: @.***>

faisalmushtaq007 commented 1 year ago

i tried to run my flutter app on ios but getting error of "Error (Xcode): Framework not found TensorFlowLiteC". Need help! NOTE: I have Mac M2

LanceWW0 commented 1 month ago

Yes I know. On my Intel Mac it works. On M2 does not. I have no idea why. Get Outlook for Androidhttps://aka.ms/AAb9ysg ____ From: JunHeyy @.> Sent: Monday, February 13, 2023 12:50:52 AM To: am15h/tflite_flutter_plugin @.> Cc: Michal Misiaszek @.>; Comment @.> Subject: [EXTMAIL]Re: [am15h/tflite_flutter_plugin] Failed to build iOS app Error (Xcode): Framework not found TensorFlowLiteC (Issue #219) Workarounds do not work on M2 :( Oh.. didn't know there is a difference for different machine. Just in case, the folder is hidden inside your application directory -> ios ->.symlink(hidden) -> tflite_flutter -> ios (place TensorFlowLiteC.framework here) — Reply to this email directly, view it on GitHub<#219 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVOUUSJJM6BYOYG3FYTRS7DWXHYWZANCNFSM6AAAAAAUGZDL4U. You are receiving this because you commented.Message ID: @.***>

Any sign of a fix for this? I'm Silicon chip Mac too and havent seen any answers still. Thanks