Dimas Maulana

Dimas Maulana

Developer

Welcome to my website! I am a developer with a current focus on React and Go. My experience encompasses both front-end and back-end development, enabling me to design and develop seamless and efficient applications.

Clearing Old Simulator Files in Xcode

Over time, Xcode simulators can accumulate unused or outdated files, taking up valuable disk space on your machine. One effective way to free up space is by removing unavailable simulators using the xcrun simctl command-line tool.

Using xcrun simctl to Delete Unavailable Simulators

To remove unavailable simulators and their associated files, follow these steps:

Troubleshooting Unable to Install Ruby via Rbenv Fixing Errors With Cctools

If you are encountering issues while trying to install Ruby via rbenv and see errors related to “cctools,” this article will guide you through the troubleshooting process to fix the problem. The error message you might encounter is:

/usr/local/Cellar/cctools/855/bin/ranlib: object: apps/libapps.a(app_rand.o) malformed object (unknown load command 1)
ar: internal ranlib command failed
make[1]: *** [apps/libapps.a] Error 1
make: *** [all] Error 2

The “cctools” package could potentially conflict with the Ruby installation process, causing this error. To resolve the issue, we will walk through the steps to uninstall the “cctools” package and proceed with installing Ruby via rbenv.

How to Install and Upgrade Google Chrome Browser on Ubuntu Server via Terminal

Google Chrome is one of the most popular web browsers, and you may want to install or upgrade it on your Ubuntu Server. However, since Ubuntu Server doesn’t have a graphical user interface (GUI), you’ll need to install Chrome via the command line. This guide will walk you through the process of installing Google Chrome and keeping it up to date on your Ubuntu Server.

Prerequisites

Before you begin, ensure that you have the following:

Troubleshooting CocoaPods Installation Error on MacOS Catalina

If you’re encountering an error related to ffi while installing CocoaPods on macOS Catalina, you can follow these steps to resolve the issue.

Step 1: Install FFI with a specific version**

1
sudo gem install ffi -v '1.10.0'

Step 2: Install CocoaPods**

1
sudo gem install cocoapods -n /usr/local/bin

Step 3: Install CocoaPods Binary**

1
sudo gem install cocoapods-binary

If you’re still facing issues after following the above steps, you can try uninstalling all gems and then reinstalling CocoaPods. Here’s how you can do it:

Fixing Ffi Error When Installing CocoaPods on MacOS Catalina

If you encounter an error related to “ffi” when trying to install CocoaPods on macOS Catalina, follow these steps to resolve the issue:

  1. Install ffi version 1.10.0:
1
sudo gem install ffi -v '1.10.0'
  1. Install CocoaPods:
1
sudo gem install cocoapods -n /usr/local/bin
  1. Install CocoaPods-binary:
1
sudo gem install cocoapods-binary
  1. If you still face issues after following the above steps, it’s recommended to uninstall all gems and then reinstall them:
1
sudo gem list --no-version | xargs -L 1 sudo gem uninstall -n /usr/local/bin -ax

Note: The command above will uninstall all gems from the default gem path. If you have gems installed in other locations, you may need to handle those manually.

Disk Cleanup Pro Keeps Removing ICloud Profile Picture

If you’re facing the issue where Disk Cleanup Pro consistently removes your iCloud profile picture and you want to prevent this from happening, here’s a solution that involves excluding specific caches from being deleted.

Problem Description

Disk Cleanup Pro is a utility program designed to help users free up disk space on their computers by removing unnecessary files and caches. However, it appears to be deleting the iCloud profile picture, causing inconvenience for users who wish to keep their profile picture intact.

0%