cocos 3.8.8
构建用Xcode打开后无法运行
报错1
Applications/Cocos/Creator/3.8.8/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/enoki/half.h:23:19 ‘is_floating_point’ cannot be specialized: Users are not allowed to specialize this standard library entity
/Applications/Cocos/Creator/3.8.8/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/enoki/half.h:24:19 ‘is_arithmetic’ cannot be specialized: Users are not allowed to specialize this standard library entity
/Applications/Cocos/Creator/3.8.8/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/enoki/half.h:25:19 ‘is_signed’ cannot be specialized: Users are not allowed to specialize this standard library entity
如果用AI修复
#if 0
NAMESPACE_BEGIN(std)
template <> struct is_floating_pointenoki::half : std::true_type {};
template <> struct is_arithmeticenoki::half : std::true_type {};
template <> struct is_signedenoki::half : std::true_type {};
NAMESPACE_END(std)
#endif
修改成这样后
安装到iOS设备里面就会黑屏报
这样的错,改了很多次没有解决成功
