Undefined symbols for architecture armv7

本文解决了XCode编译过程中出现的Undefined symbols for architecture armv7错误,详细介绍了如何通过添加缺少的QuartzCore.framework框架来修复EGORefreshTableHeaderView.o文件中引用的CALayer等类未找到的问题。
摘要由CSDN通过智能技术生成

http://blog.csdn.net/theonezh/article/details/8306245

XCode 编译的时候,出线如下错误:Undefined symbols for architecture armv7: "_OBJC_CLASS_$_CALayer", referenced from: objc-class-ref in EGORefreshTableHeaderView.o "_CATransform3DIdentity", referenced from: -[EGORefreshTableHeaderView setState:] in EGORefreshTableHeaderView.o "_kCATransactionDisableActions", referenced from: -[EGORefreshTableHeaderView setState:] in EGORefreshTableHeaderView.o "_kCAGravityResizeAspect", referenced from: -[EGORefreshTableHeaderView initWithFrame:] in EGORefreshTableHeaderView.o "_CATransform3DMakeRotation", referenced from: -[EGORefreshTableHeaderView setState:] in EGORefreshTableHeaderView.o "_OBJC_CLASS_$_CATransaction", referenced from: objc-class-ref in EGORefreshTableHeaderView.old: symbol(s) not found for architecture armv7clang: error: linker command failed with exit code 1 (use -v to see invocation)其实 是你的 .frameWork没有添加进来。添加动态库的方法或步骤如下:targets--->build phases----->link binary with libraries----->+选择要添加的库。比如我少的就是QuartzCore.framework.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值