'How to query Associated Domain Capabilities in iOS project?

Does anyone know how to query what Associated Domain Capabilities have been added to the target build via Swift code? I cannot seem to find any documentation on this.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source