views:

208

answers:

1

Hi, I'm trying to persist a value with a plist in the documents directory. I use the following code to get the document directories path:

     NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0];

I'm ready to release this app so I am running my app in the distribution configuration. In this mode the string above comes back "Invalid".

When I switch to the debug configuration everything works and the string brings back the path to the Documents directory.

Does anyone know what's going on?

A: 

Joe, I am seeing the exact same issue. We can't be the first people to have hit this, can we?

Genericrich
any luck with finding any answers? Have you figured out a way around the problem or another light weight solution?
Buffernet