Skip to content

Instantly share code, notes, and snippets.

View fathurrohman26's full-sized avatar
:octocat:
Focusing

Fathurrohman fathurrohman26

:octocat:
Focusing
View GitHub Profile
@fathurrohman26
fathurrohman26 / .podfile
Created July 16, 2024 16:49
When working with Flutter macOS applications, you might encounter pod errors while installing dependencies. These errors are often related to environment variables not being set correctly, which can cause issues with CocoaPods. This guide provides a temporary solution to fix these pod errors by setting the appropriate environment variables.
# Temporary solution to fix pod errors while installing Flutter dependencies for a Flutter macOS app.
# Usage:
# 1. Open your terminal.
# 2. Before running `flutter pub get`, source the environment variables:
# $ source ~/.podfile # Adjust the path to the actual location of this script if needed.
# 3. Then run:
# $ flutter pub get
# Set environment variables to fix pod errors
export LANG=en_US.UTF-8
@fathurrohman26
fathurrohman26 / link-phps.bash
Created December 19, 2023 12:06 — forked from yuki777/link-phps.bash
Link the php installed by Brew to ~/.phpenv/versions