在使用下拉刷新类库EGORefreshTableHeaderView的时候,将资源文件添加到工程中,但是忘记假如QuartzCore.framework框架,造成编译错误:
Undefined symbols for architecture i386:
"_CATransform3DMakeRotation", referenced from:
-[EGORefreshTableHeaderView setState:] in EGORefreshTableHeaderView-6F75314CE1079327.o
"_OBJC_CLASS_$_CALayer", referenced from:
objc-class-ref in EGORefreshTableHeaderView-6F75314CE1079327.o
"_OBJC_CLASS_$_CATransaction", referenced from:
objc-class-ref in EGORefreshTableHeaderView-6F75314CE1079327.o
"_CATransform3DIdentity", referenced from:
-[EGORefreshTableHeaderView setState:] in EGORefreshTableHeaderView-6F75314CE1079327.o
"_kCAGravityResizeAspect", referenced from:
-[EGORefreshTableHeaderView initWithFrame:arrowImageName:textColor:] in EGORefreshTableHeaderView-6F75314CE1079327.o
"_kCATransactionDisableActions", referenced from:
-[EGORefreshTableHeaderView setState:] in EGORefreshTableHeaderView-6F75314CE1079327.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
解决方法:targets——>build phases——>link binary with libraries——>QuartzCore.framework
当添加其他类库的时候也可能因为没有添加framework或者是它们依赖的库同样也会出现这样错误。
我们是自定义了framework,然后这个framework中用到了别的framework却没有引入,所以导致了错误,谨记导入所有用到的framework
相关推荐
本人自己实现的支持腾讯新浪微博分享,支持outh2.0
Framework not found IOSurface for architecture arm64所需 IOSurface.framework、FileProvider.framework
Undefined symbols for architecture arm64: referenced from:
ISO 3534-3:2013 Statistics - Vocabulary and symbols - Part 3:Des
ISO 3534-1:2006 Statistics - Vocabulary and symbols - Part 1:Gen
ISO 3534-2:2006 Statistics - Vocabulary and symbols - Part 2:App
ISO 3534-4:2014 Statistics - Vocabulary and symbols - Part 4:Sur
Xcode 12.3真机调试包,操作如下: 前往--应用程序/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport文件夹,拖到文件目录下之后重启 Xcode 即可
IEC 60617-2020国际标准Graphical symbols for diagrams IEC 60617 database snapshot created on 2020-12-01 Copyright 2020 IEC, Geneva, Switzerland. All rights reserved - Not for reproduction or ...
could not read symbols: Bad value,只在64位linux下出现的问题,需要在编译时加上-fPIC
IEEE P280_D25:2021 Draft Standard Letter Symbols for Quantities
项目导入ZBarSDK 出错 ld: warning: ignoring file /Users/mac/...Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_ZBarReaderViewController", referenced from: 需要更换 libzbar.a 文件
/use/lib//usr/lib/libdb-4.2.so: could not read symbols: File in wrong format Notice: Following unknown configure options were used: usr/bin/ld: cannot find -lltdl /usr/bin/ld: cannot find -...
IEC 60617-DB-2020-DATABASE SNAPSHOT Graphical symbols for diagrams
IEEE 电气原理图形符号标准 Graphic Symbols for Electrical and Electronics Diagrams
SAE J1362-2023 Graphical Symbols for Operator Controls and Displays on Off-Road Self-Propelled Work Machines.pdf
FOR-Loop variable ''''<Name>'''' may be undefined after loop 在循环后的FOR循环变量是不确定的 Function needs result type 函数需要结果类型 Identifier redeclared: ''''<name>'''' 标识符重复说明 Illegal ...
libnx-SDL2 SDL2 部分实现。 安装: 确保正确安装SDL2(sdl2-config正常工作)。 ...$ cd libnx-SDL2 $ make $ export DEVKITPRO=`pwd...Undefined symbols for architecture x86_64: "_accountInitialize", referenced
Visual Studio加载项,使您可以在“导入”或“静态库”中列出所有导出的符号。 该加载项还允许您保存导出的符号列表,并将库文件包含到当前项目中。 此加载项还包括用于扫描库文件的功能。
Chapter 11: Defining the System-Creating the Architecture and Documenting the Design Chapter 12: The Final Phases of Embedded Design: Implementation and Testing Appendix A: Projects and Exercises ...