> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Apple Xcode で Universal Links サポートを有効にする

> Auth0 Dashboard を使用して、Apple Xcode で Auth0 アプリの Universal Links サポートを有効にする方法を学びます。

Universal Links では、ドメインとアプリケーションの間に検証済みの関連付けが確立されるため、Auth0 のアプリケーション設定と iOS アプリケーションの設定が一致している必要があります。そのためには、Apple Team ID と Bundle Identifier を Auth0 に提供する必要があります。Auth0 Dashboard (Auth0 Dashboard: サービスを設定するための Auth0 の主要プロダクト。) を使用して、Auth0 に登録したアプリケーションで Universal Links サポートを有効にできます。

## Apple Team ID と Bundle Identifier を確認する

1. Apple **Team ID** を確認するには、[Apple developer account summary page](https://developer.apple.com/membercenter/index.action#accountSummary) にアクセスします。
2. iOS アプリケーションの **Bundle Identifier** を確認するには、[Xcode project settings](https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/ConfiguringYourApp/ConfiguringYourApp.html) ページを開きます。

## Apple Team IDとBundle IdentifierをAuth0に設定する

1. [Auth0 Dashboard > アプリケーション > アプリケーション](https://manage.auth0.com/#/clients) に移動し、対象のアプリケーション名を選択します。

   ![Dashboard Applications List](https://mintlify.s3.us-west-1.amazonaws.com/docs-dev/images/cdy7uua7fh8z/1ecNwGgFQZxdP57p0tp3jT/cd608fcfae22e195b604e2707e5a848d/App_List_-_EN.png)
2. **設定**ページの最下部までスクロールし、**Show Advanced Settings** を選択します。
3. **Device Settings** を選択し、iOSアプリケーションの **Team ID** と **App bundler identifier** の値を入力して、**変更を保存** を選択します。

   ![Dashboard Applications Application Settings Tab Advanced Settings Device Settings Tab](https://mintlify.s3.us-west-1.amazonaws.com/docs-dev/images/cdy7uua7fh8z/YKKPtWtswHn2FZGFSVWNw/086b32e41b3fd446ac8aa678be33648d/Device_Settings_-_EN.png)

## リンクをテストする

ブラウザーで次の URL を開き、`apple-app-site-association` ファイルがお使いのアプリケーションで Universal Links 用に利用可能かどうかを確認します: `{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/*"]
    }]
  }
}
```
