electra
electra copied to clipboard
Sandbox error when write and read file.
Hi,
I develop Application and write some value to file.
But I got an error:
Sandbox: myApp(3182) deny(1) file-write-create /private/var/mobile/mylog.log
And I also got an error when read data from file when hooking MobileSafari:
Sandbox: MobileSafari(3133) deny(1) file-read-data /private/var/mobile/Library/Preferences/com.apple.Safari.SafeBrowsing.plist
Please help me to disable Sandbox for my application and all apps they are hook by my tweak.
- iOS version: 11.0.3
- iDevice model: iPhone 6
- electra version: lastest version
Thank you!
I remember your app won't get rid of sandbox in any jailbreak? It's still being sandboxed.
add no-container entitlement
add no-container entitlement
Can you give some advice on how to do it on an AppStore app?
@lubbo you can't. The only way to do it from an app store app is fully unsandboxing or adding some sandbox exceptions. (And if you plan on writing in a root owned directory you also need root). The only way to do those is using another process with tfp0. (Like jailbreakd). kppless jailbreaks don't nuke the sandbox like previous ones.