简体   繁体   English

如何解决错误 OpenGLES 已弃用。 考虑改用 Metal

[英]How to Solve the Error OpenGLES is deprecated. Consider migrating to Metal instead

I am using unity 2019.4.21f1.我正在使用统一 2019.4.21f1。 In ios build settings i have choose in OpenGles2(Depracated) and OpenGles3(Deprecated) in Graphics Api.在 ios 构建设置中,我在 Graphics Api 中选择了 OpenGles2(Deprecated) 和 OpenGles3(Deprecated)。

When i try to Archive the build it receives the error当我尝试存档构建时,它会收到错误

OpenGLES is deprecated. Consider migrating to Metal instead.

is there any way to byepass the error or able to solve it.有没有办法绕过错误或能够解决它。

can any one can give solutions for this任何人都可以为此提供解决方案吗

Thanks n advance谢谢n提前

It's exactly as it says on the tin: OpenGL has longer supported on iOS for many years now.就像它在锡上所说的那样:OpenGL 在 iOS 上的支持已经有很多年了。 You have to use Metal.你必须使用金属。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 UIMenuController 已弃用。 请改用 UIEditMenuInteraction。 iOS 16 - UIMenuController is deprecated. Use UIEditMenuInteraction instead. iOS 16 OCUnit已被弃用。 将Xcode升级到5.1后出现错误 - OCUnit is deprecated. Error After upgraded Xcode to 5.1 OpenGLES将代码混合到金属翻译 - OpenGLES blending code to Metal translation iOS 7:不建议使用MPMusicPlayerController卷。 现在如何更改设备音量? - iOS 7: MPMusicPlayerController volume deprecated. How to change device volume now? 不推荐使用NSHourCalendarUnit和NSMinuteCalendarUnit。 如何分摊小时和分钟? - NSHourCalendarUnit and NSMinuteCalendarUnit are deprecated. How to split up hours and minutes? SKPayment paymentWithProductIdentifier已过时。 备择方案? - SKPayment paymentWithProductIdentifier Deprecated. Alternatives? 不推荐使用CFURLCreateDataAndPropertiesFromResource。 并寻找替代品 - CFURLCreateDataAndPropertiesFromResource deprecated. And looking for substitute Metal或OpenGLES中片段着色器中的共享变量 - Shared variables in Fragment shaders in Metal or OpenGLES NSString cString已弃用。有什么选择? - NSString cString is Deprecated. What is the alternative? 不推荐使用UITextInputMode currentInputMode。 建议更换? - UITextInputMode currentInputMode is deprecated. Suggested replacement?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM