What happens if you only use this: <key>NSAllowsArbitraryLoads</key> <true/>
?? On Oct 15, 2015, at 3:56 PM, Marek Hrušovský wrote: > I read on some blogposts that ios9 GM did not support IP addresses for ATS. > Do not know if this has changed. > > On Thu, Oct 15, 2015 at 9:06 PM, Devarshi Kulshreshtha < > devarshi.bluec...@gmail.com> wrote: > >> Our webservices are hosted in some local IP, to bypass the App Transport >> Security I added this as dictionary for NSAppTransportSecurity key in my >> info.plist file: >> >> >> <dict> >> <key>NSAllowsArbitraryLoads</key> >> <false/> >> <key>NSExceptionDomains</key> >> <dict> >> <key>localhost</key> >> <dict> >> <key>NSExceptionAllowsInsecureHTTPLoads</key> >> <true/> >> </dict> >> <key>10.32.27.12</key> >> <dict> >> <key>NSExceptionAllowsInsecureHTTPLoads</key> >> <true/> >> </dict> >> </dict> >> </dict> >> >> but for some reasons I am still getting this error message: >> >> App Transport Security has blocked a cleartext HTTP (http://) resource >> load >> since it is insecure. Temporary exceptions can be configured via your app's >> Info.plist file >> >> Any ideas? >> >> -- >> Thanks, >> >> Devarshi >> _______________________________________________ >> >> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >> >> Please do not post admin requests or moderator comments to the list. >> Contact the moderators at cocoa-dev-admins(at)lists.apple.com >> >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/cocoa-dev/xhruso00%40gmail.com >> >> This email sent to xhrus...@gmail.com > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/zav%40mac.com > > This email sent to z...@mac.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com