Skip to content

Instantly share code, notes, and snippets.

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

Dimas Febri dimasfeb19

:octocat:
Focusing
  • Jakarta, Indonesia
  • 15:31 (UTC +07:00)
View GitHub Profile
@dimasfeb19
dimasfeb19 / .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
@dimasfeb19
dimasfeb19 / link-phps.bash
Created December 19, 2023 12:06 — forked from yuki777/link-phps.bash
Link the php installed by Brew to ~/.phpenv/versions