MIT License - Apple Developer sample code Downloaded via Cupertino (https://github.com/mihaelamj/cupertino) |
||
|---|---|---|
| .. | ||
| Configuration | ||
| ShinyTV | ||
| ShinyTV.xcodeproj | ||
| .gitignore | ||
| LICENSE.txt | ||
| README.md | ||
Simplifying User Authentication in a tvOS App
Build a fluid sign-in experience for your tvOS apps using AuthenticationServices.
Overview
- Note: This sample code project is associated with WWDC21 session 10279: Simplify sign in for your tvOS apps.
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 web credentials domain 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.