I attempt to get the path of the document directory on the iPhone SDK with the following code:
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
I'm in distribution and not debug configuration. In debug a valid path is returned. Also I'm using iPhone OS 3.0
Please help!
Joe