0

I am getting a Apple Mach-O Linker Error every time I run my project, I'm trying to build using iPhone 6s with iOS 10.0.

Undefined symbols for architecture arm64:

"boost::gregorian::greg_month::as_short_string() const", referenced from:
      boost::date_time::month_formatter<boost::gregorian::greg_month, boost::date_time::iso_format<char>, char>::format_month(boost::gregorian::greg_month const&, std::__1::basic_ostream<char, std::__1::char_traits<char> >&) in libSHP.a(Timer.o)

ld: symbol(s) not found for architecture arm64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

I'm using Xcode version 8.1

Siguza
  • 21,155
  • 6
  • 52
  • 89
iOS Developer
  • 187
  • 1
  • 2
  • 9

1 Answers1

0

If your Architectures and Valid Architectures are all right, you may check whether you have add $(inherited) to Other Linker Flags as below.

Sargis
  • 1,196
  • 1
  • 18
  • 31