ProcursusTeam / uikittools-ng

Next-gen uikittools for iOS 11+ (though probably will work on 9+)
Other
29 stars 14 forks source link

mgask prints error to stdout if MobileGestalt cache is unavailable #59

Closed ghost closed 1 year ago

ghost commented 1 year ago
localhost:~ root# /mnt8/mgask ProductType 2>/dev/null
libMobileGestalt utility.c:71: Could not open /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.mobilegestaltcache/Library/Caches/com.apple.MobileGestalt.plist: No such file or directory
iPhone10,6

It should print the error to stderr instead. I couldn't find where it does this in the code.

asdfugil commented 1 year ago

it's not a bug in mgask

asdfugil commented 1 year ago

it's a bug in libMobileGestalt

ghost commented 1 year ago

I was afraid that would be the case...