I have a plist file at: /var/mobile But it seems that my mobilesubtrate tweak does not read anything from the plist file.
This is my code:
NSString *path = @"/var/mobile/test.plist";
self.mods = [NSMutableDictionary dictionaryWithContentsOfFile:path];
self.mods.count
returns 0, and the entire dictionary is empty.
The plist file does have 3 key/value pairs.
I found a crash report log on my phone, it said this
Sandbox Violation: minecraftpe deny file-read-metadata /private/var/mobile/test.plist
I guess the tweak is still sandboxed and can't access files outside the app?