2017-04-18 59 views
0

每当我运行我的项目时,我都会收到一个Apple Mach-O链接程序错误,我正尝试使用iOS 6.0构建iPhone 6s。Apple Mach-O链接器错误 - 架构arm64的未定义符号

的架构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) 

我使用的Xcode 8.1版本

+0

尝试使用CMD + Shift + k清理项目。然后再试一次。 – ankit

+0

@ankit不工作,我甚至尝试删除派生数据并再次构建项目,但它不起作用 –

+0

它可能有帮助:http://stackoverflow.com/questions/19213782/undefined-symbols-for-architecture-arm64 – ankit

回答

0

如果您架构有效的架构都没事,你可以检查你是否有添加$(inherited)其他链接器标志如下。

相关问题