cocoapods添加库后报错 apple mach-o linker error

添加新库后老是报错误
Undefined symbols for architecture arm7: "_OBJC_CLASS_$_****", referenced from: someFile ld: symbol(s) not found for architecture arm7

后来在Pods项目中设置了 Active Architecture Only --> NO
Set Architectures to armv7 armv7s, Build Active Architecture Only to NO, for every target in the project, including every one in Pods

编译通过

注意一点就是每次pod install 或者 pod update 后都要重新改一次,特别麻烦

posted on 2014-09-11 15:52  sin  阅读(415)  评论(0)    收藏  举报

阳江人才网