appcelerator/titanium_mobile — pull request #6213 by cheekiatng (2014-10-14 09:20:58+00:00)
Title: modified resourcesDirectory method

It is discovered that resourcesDirectory doesn't return a reliable result when utilized on iPad devices specifically. After some investigation, it is due to the use of [[NSBundle mainBundle] bundlePath]. Instead of absoluteString, path is recommended to be used when obtaining the path string for NSFileManager.
By doing so, the resourcesDirectory returned reliable results for devices and simulators.