Swift + Alamofire - Auth and get XML file
<p>I have a website that is protected with Username and Password. 
I need to get XML file and then parse it. I tried many solution but none of them worked for me. I am getting this code.</p>

<blockquote>
  <p>Error: Error Domain=NSCocoaErrorDomain Code=3840 "The operation
  couldn’t be completed. (Cocoa error 3840.)" (Encountered unknown tag
  tabless on line 1) UserInfo=0x1aadf300 {NSDebugDescription=Encountered
  unknown tag tabless on line 1, kCFPropertyListOldStyleParsingError=The
  operation couldn’t be completed. (Cocoa error 3840.)}</p>
</blockquote>

<p>here is my code:</p>

<pre><code> func getTimeStampOfUpdatedTables(completionHandler: (Bool) -&gt; ()) -&gt; (){

    let user = "abc"
    let password = "abc"

    let plainString = "\(user):\(password)" as NSString
    let plainData = plainString.dataUsingEncoding(NSUTF8StringEncoding)
    let base64String = plainData?.base64EncodedStringWithOptions(NSDataBase64EncodingOptions(rawValue: 0))

    Alamofire.Manager.sharedInstance.session.configuration.HTTPAdditionalHeaders = ["Authorization": "Basic " + base64String!]

    Alamofire.request(.GET, "http://example.com/info.php", encoding: ParameterEncoding.URL).responsePropertyList { response in
        print(response.result)
        if let error = response.result.error {
            print("Error: \(error)")

            // parsing the data to an array
        } else if let array = response.result.value as? [[String: String]] {

            if array.isEmpty {
                print("No data")

            } else {
                //Do whatever you want to do with the array here
                print("data here!")
            }
        }
    }
}
</code></pre>