My Flutter version : Flutter (Channel stable, 2.10.4, on macOS 12.1 21C52 darwin-x64, locale
zh-Hans-CN).
When I selected MacOS(desktop) , it doesn't work:
Undefined symbols for architecture x86_64:
"_gxx_personality_v0", referenced from:
getAppWindow() in bitsdojo_window_macos(bitsdojo_window.o)
__Z10moveWindowP8NSWindow_block_invoke in bitsdojo_window_macos(bitsdojo_window.o)
setSize(NSWindow, int, int) in bitsdojo_window_macos(bitsdojo_window.o)
getScreenInfoForWindow(NSWindow, _BDWScreenInfo) in bitsdojo_window_macos(bitsdojo_window.o)
setPositionForWindow(NSWindow, _BDWOffset) in bitsdojo_window_macos(bitsdojo_window.o)
____Z20setPositionForWindowP8NSWindowP10_BDWOffset_block_invoke in bitsdojo_window_macos(bitsdojo_window.o)
setRectForWindow(NSWindow, _BDWRect*) in bitsdojo_window_macos(bitsdojo_window.o)
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in dependency order
BUILD FAILED
My Flutter version : Flutter (Channel stable, 2.10.4, on macOS 12.1 21C52 darwin-x64, locale zh-Hans-CN). When I selected MacOS(desktop) , it doesn't work:
Undefined symbols for architecture x86_64: "_gxx_personality_v0", referenced from: getAppWindow() in bitsdojo_window_macos(bitsdojo_window.o) __Z10moveWindowP8NSWindow_block_invoke in bitsdojo_window_macos(bitsdojo_window.o) setSize(NSWindow, int, int) in bitsdojo_window_macos(bitsdojo_window.o) getScreenInfoForWindow(NSWindow, _BDWScreenInfo) in bitsdojo_window_macos(bitsdojo_window.o) setPositionForWindow(NSWindow, _BDWOffset) in bitsdojo_window_macos(bitsdojo_window.o) ____Z20setPositionForWindowP8NSWindowP10_BDWOffset_block_invoke in bitsdojo_window_macos(bitsdojo_window.o) setRectForWindow(NSWindow, _BDWRect*) in bitsdojo_window_macos(bitsdojo_window.o) ... ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) note: Using new build system note: Planning note: Build preparation complete note: Building targets in dependency order BUILD FAILED