Comments (4)
I think I got it working. Looks like Apple changed the output of the "system_profiler SPApplicationsDataType". This line needs to be changed to:
# get all non-64 Bit applications from the initial list ThirtyTwoBit_app_list=$(echo "$ThirtyTwoBit_app_list" | /usr/bin/grep -B1 "Kind: 32-bit (Unsupported)")
The previous grep was pulling lines after the application type; it now needs to pull only one line above. They also changed how the 32/64 type is output. I don't have an example of the old output, but here's an example of the new output on Catalina:
AppleMobileDeviceHelper:
Version: 5.0
Obtained from: Apple
Last Modified: 2/26/20, 1:51 AM
Signed by: Software Signing, Apple Code Signing Certification Authority, Apple Root CA
Location: /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/AppleMobileDeviceHelper.app
Kind: 64-bit
I have to get my Big Sur test box running first before I test it there (ugh).
from rtrouton_scripts.
Does it produce an empty file at "/private/var/log/32bit_apps_installed.log"?
from rtrouton_scripts.
No it says "No 32-bit applications found in /Applications, /Library or /usr/local."
from rtrouton_scripts.
Okay, I looked into it. The script does a simple grep for "64-bit (Intel): No" and forwards the result of the command "/usr/sbin/system_profiler SPApplicationsDataType". You could look at the result of the command to figure out how to find a more reliable way. The script was edited 2 years ago, so of course apple may changed something.
from rtrouton_scripts.
Related Issues (20)
- java_jdk_vendor Multiple Versions HOT 1
- rtrouton_scripts/enable_and_disable_touch_id_for_sudo/enable_touch_id_auth_for_sudo.sh error on line 42 HOT 1
- delete_Jamf_Pro_Computers.sh does not work with python 3 HOT 5
- Flash Removal needs addition pkgutil --forget
- Following installations still lead to: installation failed. The installer reported: installer: This package requires Rosetta 2 to be installed.
- Rosetta 002
- open_website_via_self_service.sh not working on 11.2+
- Not working - Likely user error HOT 1
- Adding that new option HOT 1
- install_rosetta_on_apple_silicon problem with Monterey HOT 1
- Script running on macOS 11.5.0 no longer finds installed Rosetta 2 HOT 3
- Xcode CLT install script takes no action on macOS 12
- update for jdk17?
- Not finding latest version of Command line tools HOT 5
- Jamf-Pro-Delete-All-Policies-In-Specified-Category.sh - Parser error HOT 10
- Add check to see if Xcode commandlinetools already installed
- Enhancement request: Improvement if softwareupdate -l lists multiple results HOT 1
- Stupid question: is installing the 'Resize VM Boot Partition.pkg' supposed to just run the resize script on Big Sur 11.7.3? HOT 2
- Please update to work with apple silicon HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtrouton_scripts.