@DTS Engineer ,
Thank you for your help. After I compared your code with mine, I realized that due to all the modifications I did in the code, I forgot to change the completion handler of the client challenge to .useCredential, that's why I was still seeing the issue.
I was able able to remove NSAllowsArbitraryLoads, as well and the app connection worked as expected.
Topic:
App & System Services
SubTopic:
Networking
Tags: