c++ - 在 xcode 10 上找不到 stdlibc++ 标头错误
问题描述
我们为我们的 iOS 项目编写了一些 c 库,升级到 Xcode 10 后,编译时出现错误:
error: include path for stdlibc++ headers not found; pass ‘-std=libc++’
on the command line to use the libc++ standard library instead
[-Werror,-Wstdlibcxx-not-found]
1 error generated.
我们需要在哪些地方更改生成文件?因为我在其中找不到 '-std=' 参数。
解决方案
在 Apple 的开发者论坛中找到答案。 https://forums.developer.apple.com/thread/106114 sdk 工具需要从旧版 Xcode 复制。
推荐阅读
- amazon-s3 - 使用没有密钥和秘密的谷歌存储
- c++ - 如何使用递归对堆栈进行排序?
- curve-fitting - Scipy 拟合功能(FOPDT 模型识别)
- google-apps-script - 使用 QUERY 函数的谷歌表格中多个选项卡的动态数据范围
- c# - c#的意思!在声明之前
- redis - REDIS:cluster_enabled 中的数字是什么意思?0 是真的还是 1 是真的?
- java - 如何将服务注入junit测试
- c++ - 评估字符串的布尔函数
- javascript - KonvaJS - group.clip() 后没有变压器更新
- python - 在单个 pandas 数据帧上并行化只读操作