美文网首页
undefined symbols for architectu

undefined symbols for architectu

作者: 梦想家家家 | 来源:发表于2017-06-26 19:19 被阅读50次

$(inherited)

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include

/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include

问题描述:为了适配iPhone 5s的64位处理器,在编译选项中加入了arm64架构。但是发现工程在真机上可以编译通过但是在模拟器上却未编过。

问题解决:经研究在编译选项中再加入x86_64架构,重新编译工程就可以在模拟器上编译成功了。

可以这样理解

armv7 , armv7s对应真机的32位处理器,

arm64对应真机的64位模拟器,

i386对应模拟器的32位模拟器;

x86_64对应模拟器的64位模拟器。

相关文章

网友评论

      本文标题:undefined symbols for architectu

      本文链接:https://www.haomeiwen.com/subject/robjcxtx.html