解决Xcode编译错误 ld: library not found for -lcrt1.3.1.o
来源:互联网 发布:smt分板机如何编程 编辑:程序博客网 时间:2024/05/29 19:09
从其他地方下载一个开源的项目,在arm64下是没问题的,但是在armv7下,出现“-lcrt1.3.1.o”找不到的错误
ld: library not found for -lcrt1.3.1.o
clang.ori: error: linker command failed with exit code 1 (use -v to see invocation)
解决办法
修改支持的最低iOS系统版本
在General -> Deployment Info -> Deployment Target中,把5.0(及以下的)改为6.0(及以上的)
修改后:
原因
下面是摘抄的英文原文,就没有翻译,意思是在iOS6以及更高的版本中,
crt1.3.1.o
已经没有了。
crt1.3.1.o
is a library that was included in older iOSes (and thus, their SDKs) but is no longer present in newer SDKs. However, when the project's Deployment Target is set to an older iOS (<6.0, as @Sandy has found), Xcode still tries linking against it.
0 0
- 解决Xcode编译错误 ld: library not found for -lcrt1.3.1.o
- Xcode运行错误library not found for -lcrt1.3.1.o
- 解决X-code 编译错误:library not found for -lcrt1.3.1.o
- 解决X-code 编译错误:library not found for -lcrt1.3.1.o
- 解决X-code 编译错误:library not found for -lcrt1.3.1.o
- Mac OS X 下命令行编译错误: ld: library not found for -lcrt1.10.6.o
- Xcode - ld: library not found for -lPods -******* 错误
- ld: library not found for -lgcc_s.10.5错误的解决
- ios10测试版的真机在xcode8(beta)下编译报错 library not found for -lcrt1.3.1.o的解决办法
- ld: library not found for 解决
- 关于xCode编译错误"ld: library not found for -*** linker command failed with exit code 1"的解决方法
- xcode编译代码的时候 ld: library not found for -xxx 解决方法
- 【iOS开发】ld: library not found for -lPods-iDoctors-AFNetworking 编译报错Xcode
- Xcode Archive报错: ld: library not found for -lAFNetworking
- Xcode编译异常 Apple Mach-o Linker Error ld: symbol(s) not found for architecture i386
- Xcode编译 library not found for -lXXXX
- library not found for -lz.1.2.3 编译错误 解决
- ld: library not found for -lXXXXX 编译问题的解决方法
- struts2.0升级2.3, 出现java.lang.NoSuchMethodError: com.opensymphony.xwork2.ActionContext.get(Ljava/lang/
- Animation Drawable(动画实现)
- R-FCN:基于区域的全卷积网络来检测物体
- Ionic开发实战
- file命令
- 解决Xcode编译错误 ld: library not found for -lcrt1.3.1.o
- Thread.Sleep(0)、Thread.Sleep(1)、Thread.Yeild()
- list_entry()
- 获取控件宽和高的方法总结
- 视频编解码格式比较 h.264 vs h.265 vs Theora (1080p)
- 谈谈关于js中关于函数的apply和call方法的理解
- Easy单例模式
- 1078. Hashing (25)
- 部分学习篇