我们已经为我们的iOS项目编写了一些c库,在升级到Xcode10之后,当编译时,我们得到错误:
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=’参数。
发布于 2018-09-20 21:08:43
在苹果的开发者论坛上可以找到答案。https://forums.developer.apple.com/thread/106114需要从旧的Xcode复制sdk工具。
https://stackoverflow.com/questions/52425766
复制相似问题