I was looking at this example for parsing xml using swift
as you can see in the example, the xml file is located somewhere in the web
var urlToSend: NSURL = NSURL(string: url)
Just drag the file anywhere in your XCode project. Then you just access it like
let xmlPath = NSBundle.mainBundle().pathForResource(fileName, ofType: "xml") let xmlData = NSData(contentsOfFile: xmlPath)
Now you can parse your xmlData.I use AEXML for that purpose, but you can use any other libraries.