Is there a simulator for tvOS?
All I've got as part of a default project is "Generic tvOS Device"
Error:
Expanding an iOS app to tvOS isn't hard, but you have to know that it is not the same as porting iOS into macOS. Apple TV is getting more and more popular so many developers think about how to adapt their apps to this platform. But tvOS is a little bit different than iOS.
Open Xcode > Window > Devices and Simulators or press [SHIFT] + [CMD] + 2 . Switch to the Simulators tab and select the simulator that you need to find the UDID for.
The basic way to open a list of simulators is to use Xcode -> Window -> Devices and Simulators. Here you can create and manage all available simulators.
Yes, this is what you should see:
You could try reading through this apple developer forum thread (login required), as it appears it's a similar issue.
Step 1: XCode 7.1 > Window > Devices
Step 2: Tap + button (Bottom left)
Step 3: Select Device Type: Apple TV 1080p
Step 4: Create
Step 5: Restart XCode (most important)
In addition to the other answers, make sure that TARGETED_DEVIDE_FAMILY
is set to 3
in our Apple TV target. Apparently Xcode does not set that by default... How's that for an implementation detail?
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