I've been working on an app...since the iOS 11 update disabling ATS does not work anymore I've added the below in the info.plist
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
I can't use the domain exception key as I am downloading images from unknown domains. below is what I get when trying to download an image
Task <C3DC30F1-5869-46F6-ABA4-5E1EC8334FD8>.<0> HTTP load failed (error code: -1005 [4:-4])
NSURLConnection finished with error - code -1005
I am aware that IOS 11 not longer supports the following:
Adding the following we can bypass the ATS (App Transport Security) error:
Reference link : iOS 11 ATS (App Transport Security) no longer accepts custom anchor certs?
I had also faced same issue where I was getting following errors -
Earlier I was using Automatically manage signing option under the General tab. When I have created new provisional profiles, I was not having this issue anymore.
Solution - Don't use Automatically manage signing option and create and add your Provisional Profiles.