Xcode 10 缺少 libstdc++ 库的处理

栏目: IOS · 发布时间: 7年前

内容简介:的错误。错误的原因是

的错误。

错误的原因是 

苹果在 iOS 12.0 中去掉了这个库,用自家的 libc++ 来替代 libstdc++。 性能更好,速度更快。推荐升级

收到影响的第三方库目前发现有高德地图等,升级到最新版本即可解决。(目前高德6.4.0已解决该问题)

对历史老项目的影响

通过其他方式暂时解决问题,就是 copy Xcode 9.4 中的这个库到 Xcode 10 中。( 不推荐,尽快换依赖库

Xcode 中 libstdc++.6.0.9.tbd 的路径:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libstdc++.6.0.9.tbd

需要注意

文件需要拷贝2次,真机一次,模拟器一次


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Introduction to the Design and Analysis of Algorithms

Introduction to the Design and Analysis of Algorithms

Anany Levitin / Addison Wesley / 2006-2-24 / USD 122.00

Based on a Based on a new classification of algorithm design techniques and a clear delineation of analysis methods, "Introduction to the Design and Analysis of Algorithms" presents the subject in a c......一起来看看 《Introduction to the Design and Analysis of Algorithms》 这本书的介绍吧!

URL 编码/解码
URL 编码/解码

URL 编码/解码

html转js在线工具
html转js在线工具

html转js在线工具