码迷,mamicode.com
首页 > 移动开发 > 详细

iOS Undefined symbols for architecture arm64解决办法

时间:2016-08-15 20:24:33      阅读:2002      评论:0      收藏:0      [点我收藏+]

标签:

Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_YYCache", referenced from:
      objc-class-ref in LFNetworking.o
  "_OBJC_CLASS_$_AFHTTPRequestSerializer", referenced from:
      objc-class-ref in LFNetworking.o
  "_OBJC_CLASS_$_AFJSONResponseSerializer", referenced from:
      objc-class-ref in LFNetworking.o
  "_OBJC_CLASS_$_AFHTTPSessionManager", referenced from:
      objc-class-ref in LFNetworking.o
ld: symbol(s) not found for architecture arm64

 

出现这种错误有多种可能:

1.Build Setting->Architectures查看是否包含arm64指令集

技术分享

2.如果用CocoaPods导入的库,Build Setting->Linking->Other Linker Flags,添加$(inherited)

技术分享

 

暂时列出这几种,以后遇到了再补充

iOS Undefined symbols for architecture arm64解决办法

标签:

原文地址:http://www.cnblogs.com/zhanglinfeng/p/5774033.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!