Save data on ipod device

I’m trying to save data on my ipod. And it shows this:

UnauthorizedAccessException: Access to the path “/var/mobile/Applications/9C99CB1B-7108-4A36-B9EE-5521BF2E8E59/mytest.app/Documents” is denied.

Does anyone know what does this mean.
Thanks very much.

PS: here is my code: using c#

filePath = Application.dataPath.Substring(0, Application.dataPath.Length - 4) + “Documents”;
if(!Directory.Exists(filePath)){
Directory.CreateDirectory(filePath);
}

see this topic

http://forum.unity3d.com/viewtopic.php?t=45902&highlight=iphone

Problem solved.
Thanks.
I think the unity team should really think about this issue. :slight_smile: