No Metal support on AppleTV?

I see TVOS inherits from IOS OpenGL ES but see no word on Metal framework,,

it's supported?

Metal and MetalKit are listed as unchanged in the iOS 9.0 to tvOS 9.0 changes.

Accepted Answer

Metal is supported on tvOS

When starting a new tvOS game project with the Game template set to Metal and Objective-C in (Xcode Version 7.1 beta (7B60)) I get this error


GameViewController.h:10:9: fatal error: module 'MetalKit' not found

@import MetalKit;

~~~~~~~^~~~~~~~

1 error generated.


I tried to add the MetalKit framework to the target to no help. I also tried to switch it back to #import <MetalKit/MetalKit.h> which didn't help either. How can I get the ball rolling?

It seems tvOS Simulator SDK does not support Metal, as seen in iOS Simulator SDK.

Without an actual device, we cannot even build a sample code.

That's correct. Metal is supported in tvOS but not in the simulator. You'll need to get your hands on a Dev Kit. :-)

You can build for the 'Generic tvOS Device' which will let you test whether your Metal code compiles ahead of getting an actual device.

I got two message sheets:


Failed to code sign "TVMetal".

No provisioning profiles with a valid signing identity (i.e. certificate and private key pair) matching the platform “tvOS” were found.

Xcode can attempt to fix this issue. This will reset your code signing and provisioning settings to recommended values and resolve issues with signing identities and provisioning profiles.


[Fix Issue]


No Devices Registered

Creating a provisioning profile requires one or more devices to be registered with your team. Connect a device to your Mac to add it to your team.

It's been verified you cannot build for device without owning a device. https://forums.developer.apple.com/thread/18066

WHAT?! Guess they handpicked the apps they wanted for launch day then.

No Metal support on AppleTV?
 
 
Q