question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG]: Undefined symbol: ___gxx_personality_v0

See original GitHub issue

Flutter Sound Version :

  • FULL or LITE flavor ?LITE

  • Important: Result of the command : flutter pub deps | grep flutter_sound

|-- flutter_sound_lite 8.0.1+11
|   |-- flutter_sound_platform_interface 8.0.1+11
|   |-- flutter_sound_web 8.0.1+11
|   |   |-- flutter_sound_platform_interface...


Severity

Cannot build my App


Platforms you faced the error

  • iOS
  • Emulator
  • Real device

Describe the bug I cannot run my app in iOS

To Reproduce I just run the app and it returns error

Logs!!!

(This is very important. Most of the time we cannot do anything if we do not have information on your bug)

Undefined symbols for architecture x86_64:
  "___gxx_personality_v0", referenced from:
      +[FlutterSound registerWithRegistrar:] in flutter_sound_lite(FlutterSound.o)
      +[FlutterSoundPlayerManager registerWithRegistrar:] in flutter_sound_lite(FlutterSoundPlayerManager.o)
      -[FlutterSoundPlayerManager init] in flutter_sound_lite(FlutterSoundPlayerManager.o)
      FlutterSoundPlayerReg(NSObject<FlutterPluginRegistrar>*) in flutter_sound_lite(FlutterSoundPlayerManager.o)
      -[FlutterSoundPlayerManager handleMethodCall:result:] in flutter_sound_lite(FlutterSoundPlayerManager.o)
      -[FlutterSoundPlayer startPlayerCompleted:duration:] in flutter_sound_lite(FlutterSoundPlayer.o)
      -[FlutterSoundPlayer needSomeFood:] in flutter_sound_lite(FlutterSoundPlayer.o)
      ...
ld: symbol(s) not found for architecture x86_64


Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

21reactions
zand-yasincommented, Feb 15, 2022

add -lc++

to your XCode > Runner > Target > Buld Settings > All > Linking > Other LInker Flags

just add and it does resolves your bug

Read more comments on GitHub >

github_iconTop Results From Across the Web

Undefined Symbol ___gxx_personality_v0 on link
2. I though gcc was the front end that recognized cpp files and passed it through to the correct compiler. · 14. @Pax...
Read more >
[BUG]: undefined symbol: _ZNSt15__ ...
Problem description. I've started getting a new error across all of my pybind11 projects when importing packages: "undefined symbol: _ZNSt15__ ...
Read more >
1916609 – undefined symbol: krb5_set_default_tgs_ktypes
Description of problem: $ gnome-control-center gnome-control-center: symbol lookup error: /usr/lib64/samba/libkrb5samba-samba4.so: undefined ...
Read more >
undefined symbol: __gxx_personality_v0 in Redhat Linux ...
Would you know how I can get around my run time error of not finding __gxx_personality_v0 in a Redhat Linux environment ?
Read more >
Bug #1453463 “undefined symbol: FAMNoExists”
[Impact] lighttpd fails to execute (and the service fails to start) when it is installed in a system which contains libfam0 installed.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found