DEV Community

Filip Němeček
Filip Němeček

Posted on • Edited on

5 1

How to deploy tvOS app to your Apple TV

So just a few days ago I wanted to test my first ever tvOS app on real device and it was really hard experience. Mainly because I think I expected it to "just work" and also tvOS not being that popular I could not find many posts online about it.

I am writing this guide for myself and for other developers exploring tvOS in hope of saving them a lot of frustration.

Connect your Mac and Apple TV in the same way

This means you either need both devices connected with ethernet cable or on the same Wi-Fi network. Either is fine. I am not totally sure this is really necessary but I think it beats wondering why your Mac cannot see the Apple TV.

There is one annoyance with the Wi-Fi on Apple TV if you are setting it up for the first time. You need to disconnect the ethernet cable first and then you need to use Siri remote to type your Wi-Fi password because your iPhone or iPad will not connect..

Add your Apple TV to Xcode to register it

With both devices connected in the same way, it is time to register the Apple TV to your development profile.

Now comes the crucial part that took me so so long. You need to open Settings on your Apple TV and navigate into section "Remotes and Devices".

Without this my Xcode did not see my Apple TV at all.

Once your Apple TV is "ready".

You can open Xcode and then open "Devices and Simulators" from the "Window" menu.

Xcode - Devices and Simulators

You should see your Apple TV available. It will take some time for Xcode to download necessary development files but after that you should be ready to go.

Also make you sure you have version of Xcode that supports your version of tvOS on the Apple TV.

Sentry mobile image

Mobile Vitals: A first step to Faster Apps

Slow startup times, UI hangs, and frozen frames frustrate users—but they’re also fixable. Mobile Vitals help you measure and understand these performance issues so you can optimize your app’s speed and responsiveness. Learn how to use them to reduce friction and improve user experience.

Read the guide →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay