Setting up Charles Proxy on Apple TV (tvOS)

Set up a profile

  1. Download and install Apple Configurator.
  2. Open Apple Configurator and navigate to File -> New Profile.
  3. Give your profile a name and a unique identifier. Typically you’ll be setting it up to go through the same PC you’re using, so indicating this is encouraged (e.g. Charles-JoeLaptop).
  4. Select Global HTTP Proxy* on the left and click configure.
  5. Input your IP address of the machine running Charles and 8888 (default) for the port.*
  6. If you need SSL, you need to add the Charles SSL cert. (if you’re not tracking SSL you can ignore this part):
  • Open Charles and navigate to Help -> _SSL Proxying -> Save Charles Root Certificate.
  • This will save a *.pem file containing the certificate you need. You need the certificate in a different format to add to your profile. (There are different ways you can do this, I found the simplest way was to add it to my keychain then export it as a *.cer file.)
  • Back in Configurator, select Certificates on the left and click Configure.
  • This brings up a dialog to select the relevant certificate, select the one described above and click Open.
  • It may say, “This root certificate is not trusted.” This just reflects the status of the user you’re using on the Mac.
  • Save and close the Profile.

Prepare Apple TV in Configurator

  1. With the Apple TV turned on, connect it to your Macbook using the USB-C adapter.
  2. Open Apple Configurator.
  3. The Apple TV should show up under All Devices.
  4. Select the device and click on the Prepare button at the top of the window.
  5. Follow the On Screen prompts. At the “Enroll in MDM Server” prompt, I selected “Do not enroll in MDM”. I selected the defaults for everything else.

Install the profile

  1. Now you will need to load the Profile onto the Apple TV. This requires a USB-C adapter.
  2. With the Apple TV turned on, connect it to your Macbook using the USB-C adapter.
  3. Open up Apple Configurator.
  4. The Apple TV should show up under All Devices.
  5. Select the device and click on the Add button at the top of the window.
  6. Select Profiles and find the profile you created above, then click Add Profiles.

--

--

--

Sr. iOS Engineer at Warner Bros. Digital Labs

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to install a ProperSoft converter on Windows

10 Relevant Features of Test Automation Programmers Should Know

Flutter : Introduction and Installation

Setup Kuberhealthy with Prometheus and Grafana on Minikube

A sneak peek to GCP-overview of its major services through demo

Navigating a Career in Software Engineering (Part 1)

How to Solve “PDF Won’t Print” Problem in Windows 10?

SQL Injection Heist

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ryan Grier

Ryan Grier

Sr. iOS Engineer at Warner Bros. Digital Labs

More from Medium

Encryptions, Decryptions, and Ciphers, Oh My!

Vertical lines of green symbols and text traveling down a black background

How to Monitor SD-WAN Migrations

How to Monitor SD-WAN Migrations Obkio

How to Brainly Improve Your Progressive Web App: Costs, Timeframes, Tips & Tricks, and Expert…

Remote Development and Debugging Tools