Error downloading zip file: Error Domain=NSCocoaErrorDomain Code=256
If you are facing this error then
1. Check the URL – is it without “http://” if not then add it
2. If still not working then, and if you think all is okay then Quit the iOS simulator and XCode, then restart XCode and run the code again.
This time it should work ! It is mentioned as NSFileReadUnknownError = 256 in Apple’s documentation and that tells nothing.