Mac OS

mountain lion

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...

LogInput 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[……]

Click link to continue reading...

Why is my upload so slow Fastlane?

automation

Processed using automated tools for iOS test Flight distribution,It is a very pleasant thing,It can save you a lot of time,Reduce the amount of manual intervention - especially like this need to wait a long time to look at things that require manual operation,Although it does not make you feel tired,But a lot of time so wasted。

use fastlane A key to compile、Upload,And then wait for Apple server[……]

Click link to continue reading...