Discover Issues, Share Solutions.

VPS

Why Megalayer is the Best VPS Provider for Chinese Users

If you’re a Chinese user in need of a reliable and fast VPS provider, Megalayer is an excellent choice. In this article, we’ll take a closer look at why Megalayer is the best VPS provider for Chinese users, highlighting its speed, native IPs, and special optimizations. Speed: Fast and Reliable Connections Megalayer’s servers are designed for speed and reliability, with data centers located around the world to ensure low latency and high performance.
macOS Big Sur

When executing sudo mkdir xxx in the root directory of macOS Monterey, the error message Read-only file system is returned.

For security and protection purposes, Apple has restricted the ability to create files in the root directory starting from macOS Big Sur. Even if you use sudo with root privileges, you cannot create files directly in the root directory. However, Apple has provided a workaround solution using Firmlinks, a link mechanism similar to Unix symbolic links, that can satisfy specific user requirements without compromising the system. Many online solutions require users to restart the computer and enter recovery mode, which is complicated.
Github Logo

Resolved github REMOTE HOST IDENTIFICATION HAS CHANGED issue

How to fix the following issue when run the command pod update –verbose or pod install –verbose [!] Error installing XXX [!] Failed to download ‘XXX’: [!] /usr/bin/git clone [email protected]:username/XXX.git /var/folders/z5/qp2m0vpj35zdzlk6sfhhnhwh0000gn/T/d20230401-33779-1wmy5bk –template= –single-branch –depth 1 –branch 1.4.4 Cloning into ‘/var/folders/z5/qp2m0vpj35zdzlk6sfhhnhwh0000gn/T/d20230401-33779-1wmy5bk’… @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed.
CocoaPods

CocoaPods Install

1、Check the gem version: gem --version 2、If the gem version is less than 2.6.14, it is recommended to upgrade to version 2.6.14 or higher: sudo gem update --system 3、Change the gem source: sudo gem --remove https://rubygems.org sudo gem --add http://gems.ruby-china.org 4、Use the Sudo-less install method to install CocoaPods: a)、Create a new directory in your Home directory, such as Vendor/ruby b)、export GEM_HOME=$HOME/Vendor/ruby c)、export PATH=$HOME/Vendor/ruby/bin:$PATH d)、gem install cocoapods -v 1.5 5、Add the environment variable from step 3b to the ~/.
CocoaPods

How to solve the Cocoapods CDN Error error when executing pod update or pod install.

When executing pod update or pod install with Cocoapods 1.8.5, the error message is as follows: Update all pods Updating local specs repositories [!] CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/ Response: 400 Solution: Follow the official documentation to add a source to the Podfile: # Uncomment the next line to define a global platform for your project source 'https://github.com/CocoaPods/Specs.git' platform :ios, '10.0' ... ... ... ...
Macbook

macOS Catalina 10.15 have not enough disk warning when install Xcode 11

When updating Xcode, it may appear as if you have sufficient disk space, yet you still receive a not enough disk space warning. The most straightforward and effective solution is to free up space by deleting previous Xcode builds and unnecessary simulated devices. This can instantly free up several gigabytes of space. You can perform the following steps in Finder or Terminal to free up space: 1.Delete previous Xcode builds in the /Library/Developer/Xcode/Archives directory, which stores the historical records of your app development builds.
macOS Catalina Photoanalysisd

macOS Catalina 10.15 cannot be opened because the developer cannot be verified

Due to the update of the permission system and the default system shell from bash to zsh in macOS Catalina 10.15, it was found that starting MongoDB from the command line was not working as before. After running the command, an error message was directly reported: “Developer cannot be verified”, as shown in the figure below: Solution: Open System Preferences and go to Security & Privacy, click on Allow Anyway on the right side of the red rectangle at the bottom to resolve the issue.
macOS Catalina Photoanalysisd

How to solve the problem of high CPU usage and frequent disk overheating after upgrading to macOS Catalina 10.15?

Today I upgraded my system to macOS Catalina 10.15 and found that the disk would heat up and the fan would start spinning loudly after using it for a while. Even if all applications were closed, this issue still occurred, and I suspected that the system was doing something in the background. I directly opened the system’s built-in Activity Monitor monitoring tool and found that a process called “photoanalysisd” was running in the background, causing the CPU usage to soar to 40% to 50%.
LycaMobile_Backend

The true reason of lycamobile message blocking is active

LycaMobile Official:Pay-As-You-Go service is not available for new customers or plan customers even after plans expire and are not recharged. Since 06/06/2019 the message “blocking is active” will be received after you send a message with Lycamobile. The true reason of why you get this message is because PAYG has been canceled by Lycamobile. How to resolve this issue? Buy Lycamobile’s plan Go to Lycamobile site and choose a plan is the only way to resolve this problem.