xcode 由于部署目标早于设备版本,着色器性能数据可能不可用
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/52509223/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Shader performance data maybe unavailable due to deployment target older than device version
提问by CodeBender
In a nutshell, I just want to know if I should be concerned about this issue:
简而言之,我只是想知道我是否应该关注这个问题:
runtime: GPU Frame Capture:
运行时:GPU 帧捕获:
Shader performance data maybe unavailable due to deployment target older than device version
由于部署目标早于设备版本,着色器性能数据可能不可用
The device I am using is running iOS 12.0, and when I had the app set to target iOS 12, this issue was not appearing.
我使用的设备运行的是 iOS 12.0,当我将应用设置为针对 iOS 12 时,此问题并未出现。
However, after I changed the app's target to 11.4, this appeared.
但是,在我将应用程序的目标更改为 11.4 后,出现了这种情况。
Based on my reading of it, and the performance of my app following the change, I do not think this is of any real concern and just exists to alert me that there couldbe problems obtaining shader performance data.
根据我对它的阅读以及更改后我的应用程序的性能,我认为这不是真正的问题,只是为了提醒我获取着色器性能数据可能会出现问题。
Short of testing against an 11.4 device, is there anything I can or even should, do to remove it?
缺少针对 11.4 设备的测试,我可以或什至应该做些什么来删除它?
采纳答案by JMCoder
If you really don't want to see this prompt, you can close it as shown below.
如果实在不想看到这个提示,可以如下图关闭。
You can find the above screenshot view on Products -> Scheme -> Edit Scheme
您可以在 Products -> Scheme -> Edit Scheme 上找到上面的截图视图