You must register a callback scheme to install the AirWatch SDK for iOS (Swift) in an environment with no previous SDK version. Code your application to expose a custom scheme so that it can receive a callback from the AirWatch Agent for iOS.
Perform this task in Xcode.
See Install a the AirWatch SDK for iOS (Swift) in a Clean Environment for instructions to install the SDK in a clean environment.
- In Xcode, navigate to Supporting Files.
- Select the file <YourAppName>-Info.plist.
Navigate to the URL Types section.
If it does not exist, add it at the Information Property List root node of the PLIST.
- Expand the Item 0 entry and add an entry for URL Schemes.
Set the next Item 0 under URL Schemes to the desired callback scheme.
Whitelist all AirWatch anchor application schemes under the LSApplicationQueriesSchemes entry in the Information Property List.