Run and train Moses on macOS

Moses official website actually has macOS Binary packageof,You don't need to compile them from source。But short,Since Moses developers no longer use Macs,So he can't update,This leads to a bug in the code of the latest version (4.0),Make the binary file can not be used directly,The author said, "It's not difficult to compile from source anyway..." But in short,Compile Mo from BigSur[……]

Click link to continue reading...

Use Packages to create a pkg installation package that supports Apple M1 chip

Use advanced settings to modify Packages default parameters

It's been a while since Apple released the M1 chip device,Although I applied for DTK equipment at the first time,But for some reasons,Until Apple Recycles Equipment,I couldn't touch it myself。In short,The drop grid input method macOS still successfully supports the Apple architecture by blind typing,I.e. arm64,According to user feedback,The effect is ok。

Until some users say that although the app supports the m1 chip,[……]

Click link to continue reading...

Published
Categorized as Mac OS Tagged ,

macOS uses the atos command to parse arbitrary crash records and sample data

Recently, the drop grid input method has encountered several difficult to reproduce problems-the key is that it will not cause a crash。This makes the crash statistics function completely ineffective,The specific performance is that the input method will suddenly get stuck for a few seconds in some cases,Very annoying。Then I thought,macOS comes with activity manager,There is a "sampling" function,You can see the current execution (call) status of the corresponding process,Can I use it to analyze the cause of the error?

In Japan[……]

Click link to continue reading...

Xcode plugin is missing and does not display the solution

In system preferences,Xcode extensions are not displayed

In a previous article, I introduced a way to install multiple versions at the same time Xcode Tool ofUse xcode-install to manage Xcode versionsBut when there are multiple Xcodes in your system at the same time,Will cause system confusion,Make Xcode plugins unrecognizable,The main manifestation is that it is not visible at all in the system preferences Xcode pluginOptions-just like you[……]

Click link to continue reading...

Use a third-party mouse without a driver on macOS

Enable management of Logitech mouse

All to known,macOS to third partiesmouseVery picky,If it is an ordinary office mouse,That almost works,At most, the fixed DPI requires adjusting the mouse speed.,But if it goes up to a gaming mouse with more buttons,There are many problems。

Not necessarily for playing games,For example, a mouse with forward and back buttons is very useful when writing code。

In General,The famous mouse will support macOS[……]

Click link to continue reading...

Use xcodebuild to archive and export app

I wrote an article beforemacOS app script to automate notarize,But there is no mention of using code to automatically compile and generate App scripts,After all, there are many tools to complete this step,For example, fastlane。

I didn’t think about automation before notarize,And at the time of writing that article Fastlane has not yet supported not[……]

Click link to continue reading...

/usr/libexec/lsd occupied 100% CPU solution

Suddenly discovered a large number of writes on the disk recently,Open the task manager,Found a process called "lsd" continues to occupy 20% – 40% CPU,Very strange。

After some inquiries,Learned that this process is a system process on macOS and iOS,Full name is "Launch Service Daemon",Responsible for all App file type association and startup。But its[……]

Click link to continue reading...

Use xcode-install to manage Xcode versions

we all know,There is pyenv when using Python,If you use ruby, there is rbenv,Can easily control and manage the version of the programming language environment,Then,Is there any way,Can Xcode switch versions like this?

Every time Xcode releases an update,More or not has become a problem,Difficult to download,Can't resume,Can't use third-party tools to download,[……]

Click link to continue reading...

Safari 13 Remove Google search results jump

Create a new Safari plugin project using Xcode

In Safari 9 before,We just download a safariextz file and double click on it,So that Safari can load this plugin。The benefit is definitely very convenient,But it ’s also not very secure (plugins that can be downloaded everywhere,It is likely to have been tampered with)。

So later,Apple no longer allows users to directly download plug-ins to install on Safari,Must pass Mac App[……]

Click link to continue reading...