title | description | services | documentationcenter | author | manager | editor | ms.service | ms.devlang | ms.topic | ms.tgt_pltfrm | ms.workload | ms.date | ms.author | ms.custom |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
include file |
include file |
active-directory |
dev-center-name |
andretms |
mtillman |
active-directory |
na |
include |
ios |
identity |
09/19/2018 |
andret |
include file |
In this step, you need to add the Application ID to your project:
- In
ViewController.swift
, replace the line starting with 'let kClientID
' with:
let kClientID = "[Enter the application Id here]"
-
Control+click
Info.plist
to bring up the contextual menu, and then click:Open As
>Source Code
-
Under the
dict
root node, add the following:
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleURLSchemes</key>
<array>
<string>msal[Enter the application Id here]</string>
</array>
</dict>
</array>