Reading Info.plist in macOS Catalina and BigSur
I have a shell script that is accessing a key value from an Info.plist like this:
/usr/bin/defaults read <PLIST_PATH> <KEY>
Despite a valid Info.plist present at the location, I am getting the following error only for macOS Catalina and BigSur:
<packageName>.pkg/Contents/Info does not exist
The same shell script runs perfectly for macOS Mojave and lower. Please help!