In preparing for 32 bit apps and iOS 11, I've found a number of helpful posts in finding 32 bit apps I currently have in Jamf. As of this summer all of our devices will be iOS 11 and once I have all 32 bit apps removed, I'd like to my Team to be able to identify 32 bit apps before "purchasing" via VPP and again populating apps in jamf that won't even work. Has anyone found an way to identify this in VPP or other means?
Solved
Identifying 32 bit apps for iOS before VPP Purchase
Best answer by nstrauss
@TomDay I had an old AppleScript example laying around and hacked together something not so pretty real quick. Works though ¯_(ツ)_/¯
#!/bin/bash
getID() {
osascript <<AppleScript
set the adamID to text returned of ¬
(display dialog "Check to see if an app is 32-bit. Type in an adam ID below. " default answer "")
AppleScript
}
ID="$(getID)"
if [[ "$?" != "0" ]]; then
echo "User selected Cancel. Exiting..."
exit 0
fi
bitstatus=$(curl -s "https://uclient-api.itunes.apple.com/WebObjects/MZStorePlatform.woa/wa/lookup?p=mdm-lockup&caller=MDM&platform=itunes&cc=us&l=en&id=$ID" | python -mjson.tool | grep is32bitOnly | cut -d ':' -f2 | cut -d ',' -f1 | tr -d '[[:space:]]')
if [[ "$bitstatus" = "true" ]]; then
osascript -e 'tell app "System Events" to display dialog "'$ID' is 32-bit only. Noooooooo." buttons {"OK"} default button "OK"'
else
osascript -e 'tell app "System Events" to display dialog "'$ID' is NOT 32-bit only. Yay!" buttons {"OK"} default button "OK"'
fi
exit 0Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.



