简体   繁体   English

GLKit 是否可用于 Mac Catalyst?

[英]Is GLKit available for Mac Catalyst?

According to Apple's documentation GLKit is in beta for Mac Catalyst.根据Apple 的文档, GLKit 是 Mac Catalyst 的测试版。

However, when attempting to run our iPad app with Mac selected as the device, we get:但是,当尝试在选择 Mac 作为设备的情况下运行我们的 iPad 应用程序时,我们得到:

GLKit is deprecated and is not available when building for Mac Catalyst. GLKit 已弃用,在为 Mac Catalyst 构建时不可用。 Consider migrating to MetalKit instead.考虑迁移到 MetalKit。 You may need to restrict the platforms for which this framework should be linked in the target editor.您可能需要限制应在目标编辑器中链接此框架的平台。

Upgrading to MetalKit is not an option for us, unfortunately.不幸的是,升级到 MetalKit 不是我们的选择。

Is GLKit available for Mac Catalyst? GLKit 是否可用于 Mac Catalyst? If so, are there any special settings we need to set?如果是这样,有什么我们需要设置的特殊设置吗? If not, I'm presuming this is an error in Apple's documentation.如果没有,我认为这是 Apple 文档中的错误。

GLKit is a deprecated framework, regardless of platform. GLKit 是一个不推荐使用的框架,无论平台如何。 The range of operating systems for deployment are iOS 5.0–12.0 / macOS 10.8–10.14 / tvOS 9.0–12.0.可部署的操作系统范围为 iOS 5.0–12.0 / macOS 10.8–10.14 / tvOS 9.0–12.0。 Individual pages like this list that support range.这个列表这样支持范围的单个页面。 I wouldn't trust that main page sidebar mentioning Catalyst.我不相信提到 Catalyst 的主页侧边栏。

Since Catalyst only exists in the macOS 10.15 / iOS 13 (or later) world, it's Metal or nothing.由于 Catalyst 仅存在于 macOS 10.15 / iOS 13(或更高版本)世界中,所以它要么是 Metal,要么什么都没有。 There are tutorials and videos to help with transitioning.教程视频可以帮助过渡。

MoltenGL现在可在 Mac Catalyst 上使用。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM