title: XML parser in swift 2 returns false on device
body: <p>When I run the following code in Xcode with iOS simulator selected it parses without a problem, but when I run it on a device (iPhone 5c) I get:
  <em>Failed to load xml
  XML parsing failed at 0:0: Optional("The operation couldn’t be completed. (Cocoa error -1.)")</em></p>
  
  <p>I tried different xml files, but it looks like its a security issue!?
  Should I set permission in my project somewhere? </p>
  
  <pre><code>let url:String="http://images.apple.com/main/rss/hotnews/hotnews.rss#sthash.TyhRD7Zy.dpuf"
  let urlToSend: NSURL = NSURL(string: url)!
  
  parser = NSXMLParser(contentsOfURL: urlToSend)!
  parser.delegate = self
  
  if !parser.parse() {
     let error = parser.parserError
     let line = parser.lineNumber
     let col = parser.columnNumber
     print("XML parsing failed at \(line):\(col): \(error?.localizedDescription)")
  }`
  </code></pre>