Quantcast
Channel: Questions in topic: "ios"
Viewing all articles
Browse latest Browse all 4709

WWW not working with https in iOS builds

$
0
0
After the Unity 5 update, our WWW downloads stopped working in iOS builds when we use an https protocol. We can download in iOS builds using an http protocol. We can download in Editor, Mac and Android platforms using both protocols. The www's error is > The operation couldn’t be completed. (NSURLErrorDomain error -1012.) Code -1012 corresponds to NSURLErrorUserCancelledAuthentication ([Link][1]). Finally, we tried downloading using the C# WebClient class and that worked even with an https protocol. Unfortunately, this isn't a great solution because we are using asset bundles so it would be much better to download them WWW.LoadFromCacheOrDownload. Has anyone encountered this problem (or found a solution) since the Unity 5 update? [1]: https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_Constants/index.html#//apple_ref/doc/constant_group/URL_Loading_System_Error_Codes

Viewing all articles
Browse latest Browse all 4709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>