I created a SCNView with the Metal Rendering API as shown below, however it does not work. If I change it to any of the opengl options the view is visible, however if set to SCNRenderingAPI.Metal, the view is no longer visible.
Example A (This does not work)
let options = [SCNPreferredRenderingAPIKey : NSNumber(unsignedLong: SCNRenderingAPI.Metal.rawValue)]
let metalGameView = SCNView(frame: self.view.bounds, options: options)
Example B (This does work)
let options = [SCNPreferredRenderingAPIKey : NSNumber(unsignedLong: SCNRenderingAPI.OpenGLCore41.rawValue)]
let metalGameView = SCNView(frame: self.view.bounds, options: options)
Update: I've verified this actually works on iOS, just not on my mac. Metal does run successfully on my mac using MetalKit, just not with this scenekit option.