Simplifying User Authentication in a tvOS App
Build a fluid sign-in experience for your tvOS apps using AuthenticationServices.
Overview
Configure the Sample Code Project
To configure the sample code project, perform the following steps in Xcode:
Add your Apple ID account and assign the target to a team so Xcode can enable the
Associated Domainscapability with your provisioning profile.Configure your Supporting associated domains in the
Associated Domainscapability and your website’s associated domains file.Set up an Apple TV running tvOS 15 and an iPhone or iPad running iOS 15 or iPadOS 15.
Add the same Apple ID to both devices. Alternatively, you may pair the iPhone or iPad with the Apple TV.
Set the Apple TV as the run destination in the scheme pop-up menu.
In the toolbar, click Run, or choose Product > Run.