Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apple Mach-O Linker Error #13

Open
kpespisa opened this issue Oct 12, 2017 · 0 comments
Open

Apple Mach-O Linker Error #13

kpespisa opened this issue Oct 12, 2017 · 0 comments

Comments

@kpespisa
Copy link

With XCode 9 and the latest Facebook Audience Network frameworks, I see an error when trying to build the MoPub iOS project.

I've tried a few other options, such as using the latest MoPub SDK, but the errors persist. They all appear in the linking phase. Here are a few examples:

Undefined symbols for architecture x86_64:
  "std::terminate()", referenced from:
      ___clang_call_terminate in FBAudienceNetwork(FNFMp4StreamingParser.mm.o)
  "vtable for std::out_of_range", referenced from:
      FNFCursor::readBE16(unsigned long long) in FBAudienceNetwork(FNFCursor.mm.o)
      FNFCursor::readBE32(unsigned long long) in FBAudienceNetwork(FNFCursor.mm.o)
      FNFCursor::readBE64(unsigned long long) in FBAudienceNetwork(FNFCursor.mm.o)
      FNFCursor::read8(unsigned long long) in FBAudienceNetwork(FNFCursor.mm.o)
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
  "vtable for std::length_error", referenced from:
      parseMP4MoovAtom(FNFMP4MoovAtom&, FNFCursor&) in FBAudienceNetwork(FNFMp4StreamingParser.mm.o)
      parseMP4MoofAtom(std::__1::vector<FNFMP4MoofAtom, std::__1::allocator<FNFMP4MoofAtom> >&, FNFCursor&, unsigned long long) in FBAudienceNetwork(FNFMp4StreamingParser.mm.o)
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
  "typeinfo for std::out_of_range", referenced from:
      FNFCursor::readBE16(unsigned long long) in FBAudienceNetwork(FNFCursor.mm.o)
      FNFCursor::readBE32(unsigned long long) in FBAudienceNetwork(FNFCursor.mm.o)
      FNFCursor::readBE64(unsigned long long) in FBAudienceNetwork(FNFCursor.mm.o)
      FNFCursor::read8(unsigned long long) in FBAudienceNetwork(FNFCursor.mm.o)
  "typeinfo for std::length_error", referenced from:
      parseMP4MoovAtom(FNFMP4MoovAtom&, FNFCursor&) in FBAudienceNetwork(FNFMp4StreamingParser.mm.o)
      parseMP4MoofAtom(std::__1::vector<FNFMP4MoofAtom, std::__1::allocator<FNFMP4MoofAtom> >&, FNFCursor&, unsigned long long) in FBAudienceNetwork(FNFMp4StreamingParser.mm.o)
  "std::out_of_range::~out_of_range()", referenced from:
      FNFCursor::readBE16(unsigned long long) in FBAudienceNetwork(FNFCursor.mm.o)
      FNFCursor::readBE32(unsigned long long) in FBAudienceNetwork(FNFCursor.mm.o)
      FNFCursor::readBE64(unsigned long long) in FBAudienceNetwork(FNFCursor.mm.o)
      FNFCursor::read8(unsigned long long) in FBAudienceNetwork(FNFCursor.mm.o)
  "std::length_error::~length_error()", referenced from:
      parseMP4MoovAtom(FNFMP4MoovAtom&, FNFCursor&) in FBAudienceNetwork(FNFMp4StreamingParser.mm.o)
      parseMP4MoofAtom(std::__1::vector<FNFMP4MoofAtom, std::__1::allocator<FNFMP4MoofAtom> >&, FNFCursor&, unsigned long long) in FBAudienceNetwork(FNFMp4StreamingParser.mm.o)
  "___cxa_throw", referenced from:
      parseMP4MoovAtom(FNFMP4MoovAtom&, FNFCursor&) in FBAudienceNetwork(FNFMp4StreamingParser.mm.o)
      parseMP4MoofAtom(std::__1::vector<FNFMP4MoofAtom, std::__1::allocator<FNFMP4MoofAtom> >&, FNFCursor&, unsigned long long) in FBAudienceNetwork(FNFMp4StreamingParser.mm.o)
      FNFCursor::readBE16(unsigned long long) in FBAudienceNetwork(FNFCursor.mm.o)
      FNFCursor::readBE32(unsigned long long) in FBAudienceNetwork(FNFCursor.mm.o)
      FNFCursor::readBE64(unsigned long long) in FBAudienceNetwork(FNFCursor.mm.o)
      FNFCursor::read8(unsigned long long) in FBAudienceNetwork(FNFCursor.mm.o)

BTW, thank you very much for sharing this repo. It has been working very well this past year and I really appreciate your work keeping it up to date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant