bitsdojo_window
bitsdojo_window copied to clipboard
MacOS plugin broken after upgrade to Flutter 2.8
Running pod install...
Building macOS application...
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:x86_64, id:D3B1C5E9-B0C8-5575-95B2-94FFFBE90C9D }
{ platform:macOS, name:Any Mac }
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 parallel
** BUILD FAILED **
Exception: Build process failed
Adding libc++ to Link Libraries in Build Phases fixes the error.

Yes it does. Thank you.
great!
Adding
libc++toLink LibrariesinBuild Phasesfixes the error.
Thanks, works for me.
For other macOS newbies:

Thank you.
Adding
libc++toLink LibrariesinBuild Phasesfixes the error.
It worked fine. Thank you
Wonderful! Thanks!
👍
Thanks ! ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️
libc++
how to do this in vscode? Thanks
@ingangi you'll have to do it in xcode
Thank you! It works! My first time to use xcode ^^
I did not need that on the M1 and a fresh Flutter 3.0.5 project. Just for reference.