iOS arm64 armv7报错

开始做个记录,逐渐添加~

![Uploading 556E4BBE310E1646C695C299F8BA596F_500989.jpg . . .]

1:Undefined symbols for architecture arm64:

Undefined symbols for architecture arm64: "OBJC_CLASS$_FBSession", referenced from: someFileld: symbol(s) not found for architecture arm64

解决:
project -> target (your project name) -> build settings and change architectures to standard architectures (armv7, armv7s), and valid architectures to armv7, armv7s.

参考

2:No architectures to compile for (ARCHS=arm6 arm7, VALID_ARCHS=armv7)
解决:

Go toProject Target > Build Settings > Architectures
Delete whatever you see there, and then add these rows one by one:
armv6 armv7
There are no 'save' buttons there, so what I do, is adding another blank row, pressing enter, removing it, and then clicking out somewhere else, so that I make sure I have both of them added:


图片加载中...

Now go to the AppName-Info.plist file, and look for the key "Require device capabilities" and delete it all.

参考

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容