chaitin / passionfruit

[WIP] Crappy iOS app analyzer
MIT License
1.66k stars 228 forks source link

Missing files in Snapshots cache #39

Closed notoriousturtle closed 5 years ago

notoriousturtle commented 6 years ago

The file browser is not showing all files under:

guid/Library/Caches/Snapshots/target/

Expecting it to show all files, whether Passionfruit can open them or not.

Daemonceltics commented 5 years ago

Bug confirmed! Because sandbox kernel deny app read Library/Caches/Snapshots directory in iOS 11

ChiChou commented 5 years ago

On iOS 11, the app itself is no longer allowed to access this directory. In the latest commit, we will show an error to make it clear: failed to change current directory: Error: The file “Snapshots” couldn’t be opened because you don’t have permission to view it.

You can still fetch the files via SSH since sshd is not sandboxed

notoriousturtle commented 5 years ago

Might be worth stating "on iOS 11, the app itself is no longer allowed to access this directory" in the error as well. Just in case someone interprets the error in the wrong way, and goes off trying to figure out why they don't have permission to the directory.

ChiChou commented 5 years ago

@notoriousturtle I'll add this to the FAQ