My app have got root right !but I can not read or delete files from the normal app’s sandbox path。
such as:
NSString *toRemovePath = [NSString stringWithFormat:@"/var/mobile/Containers/Data/Application/0104B320-2DF0-4820-A554-2BA61553A6CC/Library/Caches/demo.txt"]; //(PS:this path i checked~!it’s right!)
BOOL flag = [fileManager removeItemAtPath:toRemovePath error:nil];
NSLog(@“is removed:%d”,flag);