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[……]
Category: Mac OS
mountain lion
Use a third-party mouse without a driver on macOS
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[……]
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[……]
/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[……]
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,[……]
Safari 13 Remove Google search results jump
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[……]
macOS app automated publishing to upload AppCenter
Before I wrotemacOS app script to automate notarize,Because I use Microsoft's HockeyApp input method for crash statistics,So I also need to upload it here once app "publish",So HockeyApp to receive the corresponding version of error statistics。
now,Microsoft has updated HockeyApp become AppC[……]
On macOS compiled Tensorflow to open AVX2 and FMA
When using Tensorflow,There has been a strange warning: Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA ,Although not affect the use,But looking annoying,You can use this command to turn it off: the.about['TF_CPP_MIN_LOG_LEVEL'] = '2' 。
but,Have you noticed it? "[crayon-6[……]
Pocketed input macOS 2 It is how to restart the free activation input method
On macOS,Install the input method has always been a nightmare,To open the system input method directory,We should drag input into this directory,The process also enter a password,Full manual bad enough,After we had to reboot the system to recognize,Not really a headache。
Later, we gradually realized the problem,Pocketed input method is also provided macOS standard installation package pkg。
Having said that,But in fact it seems[……]