gpt4 book ai didi

ios - ld : library not found for -lstdc++. 6 - Xcode 10

转载 作者:塔克拉玛干 更新时间:2023-11-02 22:01:40 25 4
gpt4 key购买 nike

ld: library not found for -lstdc++.6

clang: error: linker command failed with exit code 1 (use -v to see invocation)

像我这样的问题挺多的,但是我没有找到解决这个问题的方法。

最佳答案

像我一样尝试从以前的 Xcode 版本复制:cp -r/Applications/Xcode_9.3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/

cp/Applications/Xcode_9.3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libstdc++.* /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/

关于ios - ld : library not found for -lstdc++. 6 - Xcode 10,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52453917/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com