iOS 9 ATS SSL error with supporting server

后端 未结 5 556
余生分开走
余生分开走 2020-12-07 23:10

I installed Xcode 7 and tried running my app under iOS 9. I\'m getting the infamous error: Connection failed! Error - -1200 An SSL error has occurred and a secure conn

5条回答
  •  情话喂你
    2020-12-08 00:03

    Check out this doc that apple provided.

    I had a similar issue at runtime on iOS 9 and what I did to fix it was added the NSAppTransportSecurity Dictionary to my info.plist file with the NSAllowsArbitraryLoads Bool set to true and after cleaning and rebuilding it worked.

    I hope this helps!

提交回复
热议问题