Broken/corrupt file extension association with default app.

Hi all,


I have an issue with file association in macOS. All of a sudden, my .cube files aren't read correctly by the default app.





After doing some research on the topic of “macOS broken file association", I came up with a temporary solution. I need to run these two commands so that the default app opens my .cube files.


/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user

sudo find /private/var/folders/ \( -name com.apple.dock.iconcache -or -name com.apple.iconservices \) -exec rm -rfv {} \; ; sleep 3;sudo touch /Applications/* ; killall Dock; killall Finder





The problem is that every time I restart, file association is broken again. I've tried this in safe mode, and the same thing happens.


Thanks in advance

MacBook Pro 16″

Posted on Mar 15, 2025 8:33 AM

Reply

Similar questions

2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Broken/corrupt file extension association with default app.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.