I am using Xcode 11 GM Seed (11A419c). When I run Metal code on iOS 13 simulator and try to access metal device created using MTLCreateSystemDefaultDevice(), it returns nil. How is Metal supposed to run on simulator without this device? Is there any setting in XCode to fix it? I have Macbook Pro retina 2012 model running Mac OS 10.14.6 if that matters.
Asked
Active
Viewed 1,038 times
1 Answers
6
Metal is available in iOS 13 and tvOS 13 simulators only when running on macOS Catalina (10.15) or later. This is documented in the Xcode 11 Release Notes.

warrenm
- 31,094
- 6
- 92
- 116
-
Can you also please look at this question - https://stackoverflow.com/questions/57834241/ciimage-display-mtkview-vs-glkview-performance – Deepak Sharma Sep 13 '19 at 06:26