Hello all,
My iPhone is jailbroken and I'm trying to access sms.db. I'm having trouble reading the SMS directory. The following call returns false:
Code:
[fileManager fileExistsAtPath:@"/private/var/mobile/Library/SMS"]
While the the following call returns true:
Code:
[fileManager fileExistsAtPath:@"/private/var/mobile/Library"]
Also the following call gives a Cocoa 257 error which has to do with read file permissions (I think):
Code:
[fileManager contentsOfDirectoryAtPath:@"/private/var/mobile/Library/SMS" error:&error]
I've tried changing the SMS directory to chmod 0777, but that doesn't seem to help. Is there anything I'm doing wrong? Thanks!