-
Notifications
You must be signed in to change notification settings - Fork 527
If the App not work properly
Since we currently have no additional requirements to join the Apple Developer Program, the packages currently released on Github Release are not signed.
Therefore, in newer versions of macOS, it is normal for the built-in Gatekeeper feature (also known as the File Quarantine feature) to prevent the application from executing.
To solve this problem, we provide here a few possible secure solutions for you to execute Mos (command line required)
Please refer to the official guidelines https://support.apple.com/zh-cn/guide/mac-help/mh40616/mac
In macOS, any executable downloaded over the network will have an extension called com.apple.quarantine
that identifies the source and time of the file download.
In a terminal, go to the directory where Mos.app is located and enter the following code
xattr -d com.apple.quarantine Mos.app
To remove the com.apple.quarantine'' extension from the
Mos.app'' file, then double-click to run the application directly
Under normal circumstances macOS only allows the following types of apps to be executed directly
- Apps from the AppStore or
- Apps that have been signed by an Apple Developer Progam account
In earlier versions of macOS, you could set Gatekeeper to allow the installation of apps from all sources
directly in System Preferences/Security & Privacy
.
In recent versions, however, this option is hidden, and you can set Gatekeeper by typing the following code in the terminal
sudo spctl --master-disable
Now, Gatekeeper will not prevent any applications from running!
If necessary, you can also restore the Gatekeeper settings by entering the following code in the terminal
sudo spctl --master-enable
If you are concerned about the security of the pre-compiled files, you can also review or compile the code yourself, and you are more than welcome to contribute code !
https://support.apple.com/en-us/HT202491
https://eshop.macsales.com/blog/57866-how-to-work-with-and-around-gatekeeper
https://superuser.com/questions/28384/what-should-i-do-about-com-apple-quarantine
Suppose you have checked Mos in the helper function, but the application still doesn't work, you can try to uncheck it first, and then check it again
If it still doesn't work, you can also refer to the solution given in the community, although we are not sure if it will work for you, but you may want to try it
- turn off Mos
- System Settings - Security & Privacy - Privacy - Accessibility, Unlock Settings, then find Mos.app
- Uncheck Mos.app, then tap the - sign at the bottom to remove it completely, then lock and close the settings page
- Restart Mos and re-check Mos.app as prompted
Credit by @HunDunDM: https://github.com/Caldis/Mos/issues/394#issuecomment-836132924
Translate by DeepL