I\'m testing my app in simulator.
I\'m downloading file and getting it\'s local way like this one: file:///Users/administrator/Library/Developer/CoreSimulator/
file:///Users/administrator/Library/Developer/CoreSimulator/
Look at NSFileManager. The method URLForDirectory:inDomain:appropriateForURL:create:error: is what you should use.
URLForDirectory:inDomain:appropriateForURL:create:error: