I try to check out the new Samples from the new Metal API for iOS. When i download the code an open it in the XCode 6 Beta I'm getting the following error message:
QuartzCore/CAMetalLayer.h file not found
Do i need to add some other files or am I missing something else? The Metal API should be available in OSX 10.9.3.
Is there any need to upgrade to Yosemite 10.10 Beta to run these examples?
Reason behind this error is it only works in device having A7+ chip, simulator will not work for this.
Try switch the device target to your iOS device (a7+), Metal is not available in iOS simulators.
CAMetalLayer
is now supported in the iOS 13 / tvOS 13 simulators when running on macOS 10.15. (It is always present but won't be functional if you're running on macOS Mojave).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With