Kill mediaanalysisd on macOS in real time.
Problems:
mediaanalysisddoes OCR and image recognition on images present on your computer;- it does internet lookup on things found in your images;
- disabling that daemon requires disabling SIP on macOS which is quite a subpar solution and lowers security.
Solution: watch out for mediaanalysisd in process list and immediately kill it once it launches.
References:
git clone [email protected]:egorFiNE/maKiller.git
cd maKiller
rm -rf build
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .cp maKiller/build/maKiller /usr/local/bin
sudo cp maKiller/com.egorfine.makiller.plist /Library/LaunchDaemons/
sudo launchctl load /Library/LaunchDaemons/com.egorfine.makiller.plist