Xcode 10 (iOS 12) does not contain libstdc++6.0.9

后端 未结 14 1938
礼貌的吻别
礼貌的吻别 2020-11-28 21:28

I download the newest Xcode from Apple, but I found I cannot search the library named \"libstdc++6.0.9\".

14条回答
  •  被撕碎了的回忆
    2020-11-28 21:31

    Jeremy Huddleston Sequoia's answer gave me the direction to resolve this issue. So before going ahead, make sure you have read his answer.

    Even after updating the C++ library in your project, you might face a linking error where Xcode is not able to link your project with this libstdc++ lib.

    The solution is - if your project structure has libstdc++ included, it might have turned red because Xcode couldn't find the reference for it. If you remove that entry from the project structure and add the new lib instead(libc++), you're good to go.

提交回复
热议问题