mirror of
https://github.com/selfxyz/self.git
synced 2026-01-09 14:48:06 -05:00
* add useSafeBottomPadding * add bottom padding to dev screen * use safe bottom padding * skip uploading if building android bundle locally * fix tests * cache fix script * clean up country picker, fix font color * sort package jsons, add watcher for mobile sdk * formatting * only bump versions for successfull builds * move all css * cleaner script * kill watchers before starting new one
23 lines
829 B
Bash
Executable File
23 lines
829 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Pod install with hermes-engine cache fix for React Native upgrades
|
|
# This script handles CocoaPods cache mismatches that occur after React Native version upgrades
|
|
|
|
set -e # Exit on any error
|
|
|
|
echo "🧹 Clearing CocoaPods cache to prevent hermes-engine version conflicts..."
|
|
pod cache clean --all > /dev/null 2>&1 || true
|
|
rm -rf ~/Library/Caches/CocoaPods > /dev/null 2>&1 || true
|
|
|
|
echo "📦 Attempting pod install..."
|
|
if pod install; then
|
|
echo "✅ Pods installed successfully"
|
|
else
|
|
echo "⚠️ Pod install failed, likely due to hermes-engine cache mismatch after React Native upgrade"
|
|
echo "🔧 Running targeted fix: pod update hermes-engine..."
|
|
pod update hermes-engine --no-repo-update
|
|
echo "🔄 Retrying pod install..."
|
|
pod install
|
|
echo "✅ Pods installed successfully after cache fix"
|
|
fi
|