views:

31

answers:

0

I have 2 different projects that have the same exact code, I am using NSSearchPathForDirectoriesInDomains to get the document directory and NSFileManager to check if fileExistsAtPath. In the one project everything works great, in the other, the file is not found. I set breakpoints for both and NSLogged out everything and apparently there seems to be nothing set in the project that doesn't work. I suspect NSSearchPathForDirectoriesInDomains is crapping out with the simulator, Any ideas?