ios - GLKit 可用于 Mac Catalyst 吗?

标签 ios glkit uikitformac

根据 Apple's documentation GLKit 处于 Mac Catalyst 测试版。

但是,当尝试在选择 Mac 作为设备的情况下运行我们的 iPad 应用程序时,我们得到:

GLKit is deprecated and is not available when building for Mac Catalyst. Consider migrating to MetalKit instead. You may need to restrict the platforms for which this framework should be linked in the target editor.

不幸的是,升级到 MetalKit 不是我们的选择。

GLKit 可用于 Mac Catalyst 吗?如果是这样,我们需要设置什么特殊设置吗?如果不是,我假设这是 Apple 文档中的错误。

最佳答案

无论平台如何,GLKit 都是一个已弃用的框架。部署的操作系统范围为 iOS 5.0–12.0/macOS 10.8–10.14/tvOS 9.0–12.0。像this这样的独立页面列出支持范围。我不相信主页边栏提到 Catalyst。

由于 Catalyst 仅存在于 macOS 10.15/iOS 13(或更高版本)世界中,因此它是 Metal 或什么都不是。有tutorialsvideos帮助过渡。

关于ios - GLKit 可用于 Mac Catalyst 吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57174387/

相关文章:

ios - iOS 8 SDK 中的 GL_DRAW_FRAMEBUFFER_APPLE 和 GL_READ_FRAMEBUFFER_APPLE 在哪里?

ios - OpenGL GLKit : rendering different size vertices objects together. ios opengl 绘制调用超出数组缓冲区边界

ios - Mac Catalyst 是否支持 UIActivityViewController?

swift - UIDatePicker 在 macCatalyst 中不起作用(Xcode 11 Beta 5)

ios - 尝试将应用程序编译重新上传到 iTunes Connect

objective-c - 核心数据 KVO 计数

ios - 如何进行 Facebook 风格转换

ios - Applescript:写入新文件时为 "File Already Open"

swift - Swift 中的 GLK 四元数