> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-eval-flywheel-swift-quickstart.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Apple Xcodeでユニバーサルリンクサポートを有効にする

> Auth0 Dashboardを使ってApple XcodeでAuth0アプリのユニバーサルリンクサポートを有効にする方法を説明します。

ユニバーサルリンクはドメインとアプリケーション間の検証済みの関係を確立するため、Auth0アプリケーションの設定とiOSアプリケーションの両方が同期している必要があります。そのため、AppleのチームIDとバンドルIDをAuth0に提供する必要があります。Auth0登録済みアプリケーションのユニバーサルリンクサポートを有効にするには、<Tooltip data-tooltip-id="react-containers-DefinitionTooltip-0" href="/docs/ja-jp/glossary?term=auth0-dashboard" tip="Auth0 Dashboard: サービスを構成するためのAuth0の主製品。" cta="用語集の表示">Auth0 Dashboard</Tooltip>を使うことができます。

## AppleのチームIDとバンドルIDを取得する

1. Appleの **［Team ID（チームID）］** を見つけるには、[Appleデベロッパアカウント概要](https://developer.apple.com/membercenter/index.action#accountSummary)ページに移動します。
2. iOSアプリケーションの **［Bundle identifier（バンドルID）］** を見つけるには、[Xcodeプロジェクト設定](https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/ConfiguringYourApp/ConfiguringYourApp.html)ページに移動します。

## AppleのチームIDとバンドルIDをAuth0に提供する

1. [［Dashboard］>［Applications（アプリケーション）］>［Applications（アプリケーション）］](https://manage.auth0.com/#/clients)に移動し、アプリケーションの名前を選択して表示します。

   <Frame>
     <img src="https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/IT7dWiteZzto-wx5/docs/images/ja-jp/cdy7uua7fh8z/1ecNwGgFQZxdP57p0tp3jT/6a547af05f8729ea00700a851e13c62b/App_List_-_JP.png?fit=max&auto=format&n=IT7dWiteZzto-wx5&q=85&s=76d333bf5aa9244fea9255511d9fe51f" alt="Dashboardのアプリケーションリスト" width="1102" height="730" data-path="docs/images/ja-jp/cdy7uua7fh8z/1ecNwGgFQZxdP57p0tp3jT/6a547af05f8729ea00700a851e13c62b/App_List_-_JP.png" />
   </Frame>

2. **［Settings（設定）］** ページの下までスクロールし、**［Show Advanced Settings（詳細設定を表示）］** を選択します。

3. **［Device Settings（デバイス設定）］** を選び、iOSアプリケーションの **［Team ID（チームID）］** と **［App bundler identifier（アプリバンドルID）］** の値を入力して、**［Save Changes（変更を保存）］** を選択します。

   <Frame>
     <img src="https://mintcdn.com/docs-dev-eval-flywheel-swift-quickstart/i1p_SDsIvZER7hSj/docs/images/ja-jp/cdy7uua7fh8z/YKKPtWtswHn2FZGFSVWNw/daf45c579fcaa82179dce4a03e9d7276/Device_Settings_-_JP.png?fit=max&auto=format&n=i1p_SDsIvZER7hSj&q=85&s=83a5648f7f91cc28fde85c15cdc9ad06" alt="Dashboard アプリケーション アプリケーション設定タブ 詳細設定 デバイス設定タブ" width="1150" height="749" data-path="docs/images/ja-jp/cdy7uua7fh8z/YKKPtWtswHn2FZGFSVWNw/daf45c579fcaa82179dce4a03e9d7276/Device_Settings_-_JP.png" />
   </Frame>

## リンクのテスト

アプリケーションがユニバーサルリンクの`apple-app-site-association`ファイルを利用できるかどうか、ブラウザーで次のURLに移動して確認します：`{yourDomain}/apple-app-site-association`

リンクに成功している場合は、以下のようなJSONが表示されます（読みやすいように整えられています）。

```json lines theme={null}
{
  "applinks": {
    "apps": [],
    "details": [{
      "appID": "86WQXF56BC.com.auth0.Passwordless-Email",
      "paths": ["/ios/com.auth0.Passwordless-Email/*"]
    }]
  }
}
```
