admin管理员组文章数量:1347719
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/c++/v1/string_view:300:42 Implicit instantiation of undefined template 'std::char_traits'
When building my app in XCode, I get the following error. I've tried to add #include <folly/String.h> in my json_pointer.cpp as well as #include and the build keeps failing.
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/c++/v1/string_view:300:42 Implicit instantiation of undefined template 'std::char_traits'
When building my app in XCode, I get the following error. I've tried to add #include <folly/String.h> in my json_pointer.cpp as well as #include and the build keeps failing.
Share Improve this question asked 2 days ago user47467user47467 1,1032 gold badges18 silver badges36 bronze badges
2 Answers
Reset to default 2This is an issue reported in the react-native Github Repo: https://github/facebook/react-native/issues/50411
Right now, the solution is to downgrade XCode from 16.3 to 16.2
This should be fixed now!
React Native < 0.76
==> They are affected by the problem. We are not releasing patches for them because they are out of the support window. If you can't upgrade to RN 0.76, please stay on Xcode 16.2 and plan for an update.React native 0.76.9
==> released today. It contains the fix for this issue. If you were on 0.76.x < 0.76.9, please upgrade to 0.76.9React Native > 0.76
==> those versions were not affected by the problem.
Source: https://github/facebook/react-native/issues/50411#issuecomment-2776681575
本文标签: reactjsImplicit instantiation of undefined template 39stdchartraitsltunsigned chargt39Stack Overflow
版权声明:本文标题:reactjs - Implicit instantiation of undefined template 'std::char_traits<unsigned char>' - Stack O 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743838527a2547848.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论