I am using NSSearchPathForDirectoriesInDomain(NSDocumentsDIrectory,
NSUserDomainMask) to get the /Documents location. This returns as
Library/Application Support/iPhone Simulator/Users/Documents (and this
directory does not exist).
I am using NSBundle resourcePath to get to the bundle. This does
point to the App bundle. Perhaps your environment already had
'Documents' created in the simulator space or I have something not
quite right in the configuration that generates the environment
variables to create this.
Do you get this as the NSDocumentsDirectory or something else?
I can code my application to try to create the directory if it does
not exist, but that is really coding around an unexpected condition.
Thanks,
Charlie