home_widget icon indicating copy to clipboard operation
home_widget copied to clipboard

ld: framework not found Flutter

Open casualcoder404 opened this issue 2 years ago • 2 comments

My app and the home widgets used to work properly but due to some reason it is now showing ld: framework not found Flutter clang: error: linker command failed with exit code 1 (use -v to see invocation) (in XCode) and Flutter framework not found when i flutter run.

casualcoder404 avatar Mar 24 '22 12:03 casualcoder404

Has anyone else encountered this or know any solution? I am really scratching my head over this.

Xcode output: ld: framework not found Flutter clang: error: linker command failed with exit code 1 (use -v to see invocation)

I am getting this under my Widget Extension (and not the main target)

casualcoder404 avatar Mar 28 '22 10:03 casualcoder404

Could you post some more code from your widget implementation and explain what you are trying to do?

I don't think there should be any references to flutter in the extension

ABausG avatar Jun 05 '22 20:06 ABausG

Hello,

@ABausG @casualcoder404 Did you get any solution or root cause for this issue? Am facing the same issue for one of my Production apps and I couldn't get started on it.. however it works perfectly fine on apps made from scratch.

My current Flutter version : 1.22.6

Regards, Devansh.

devanshkaria88 avatar Nov 21 '22 11:11 devanshkaria88

@casualcoder404 @devanshkaria88 Is this still an issue?

ABausG avatar Jun 30 '23 21:06 ABausG

I am facing the same issue. ld: framework not found uv clang: error: linker command failed with exit code 1 (use -v to see invocation)

During the linking process. New projects works just fine

renanhiramatsu avatar Feb 27 '24 21:02 renanhiramatsu

I think this is some Xcode issue. I sometimes run into this for the example apps. As a last resort you should recreate the iOS parts and add your files again afterwards. There seems to be a hiccup somewhere in the Xcode build chain

ABausG avatar Mar 24 '24 23:03 ABausG