Categories
Mac OS

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

Categories
Mac OS

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

Categories
Mac OS

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

Categories
Mac OS

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

Click link to continue reading...

Categories
Mac OS

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

Click link to continue reading...

Categories
Mac OS

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

Click link to continue reading...

Categories
Mac OS

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

Click link to continue reading...

Categories
Mac OS

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

Categories
Mac OS

macOS app script to automate notarize

According to Apple's official description,Since macOS 10.15 Start,All downloaded from the Internet were not notarize the app,Default will not be opened,So distributed outside the App Store app,The app must also be uploaded to Apple's servers for processing before release。

Use Xcode comes archive tool can be easily carried out no[……]

Click link to continue reading...