ld:在带iOS 10的xcode 8.0的设备中运行应用程序时,找不到-lcrt1.3.1.o错误的库 [英] ld: library not found for -lcrt1.3.1.o error while running app in device with xcode 8.0 with iOS10

查看:105
本文介绍了ld:在带iOS 10的xcode 8.0的设备中运行应用程序时,找不到-lcrt1.3.1.o错误的库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将xcode升级到8.0后,我的应用程序项目针对设备目标生成了错误,但针对模拟器却成功生成了。

After upgrading xcode to 8.0, my application project build with error for device target but building successfully for simulator.

错误如下:

ld:未找到-lcrt1.3.1.o的库

此错误的解决方案是什么。

What does the solution for this error.

推荐答案

花了很多时间后,我终于找到了此错误的原因。

After spending lots time, i finally got the reason for this error.

错误: ld:未找到-lcrt1.3.1.o的库

Error: ld: library not found for -lcrt1.3.1.o

解决方案:
如果您的项目源有从 iOS 5.0部署目标,然后将其更改为iOS 6.0或更高版本,您的错误将得到解决。现在,该设备也可以正常工作。

Solution: If your project source have deployment target from iOS 5.0 then change it to iOS 6.0 or later and your error will be fix. Now that work fine for device too.

万岁!!!

这篇关于ld:在带iOS 10的xcode 8.0的设备中运行应用程序时,找不到-lcrt1.3.1.o错误的库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆