Tips and tricks

React Native - Change Packages
Posted on July 4 2025 / in React Native
Run your npm install, then
cd ios
pod install
cd ..
It is important you run npx react-native run-ios for rebuilding the ios build
Restart Metro clearing the cache:
npx react-native start --reset-cache
if you are having problems you can use --repo-update
cd ./ios
pod install --repo-update
clean XCODE cache
xcodebuild -alltargets clean
xcodebuild clean -workspace FoodPlanner.xcworkspace -scheme FoodPlanner -configuration Debug
clear xcode global cache
# Kill all Xcode processes
killall Xcode 2>/dev/null; killall XCBBuildService 2>/dev/null; killall com.apple.dt.SKAgent 2>/dev/null
# Clear derived data and package caches
rm -rf ~/Library/Developer/Xcode/DerivedData
rm -rf ~/Library/Caches/com.apple.dt.Xcode
# Then reopen
open {{PATH}}.xcworkspace
List simulator devices
xcrun simctl list devices
clean derived data ios
rm -rf ~/Library/Developer/Xcode/DerivedData
cd ios
rm -rf build
rm -rf Pods
rm -rf ~/Library/Caches/CocoaPods
If you are having problems with Sandbox rsync errors
Go to XCode, Build Options and disable User Script Sandboxing
ENABLE_USER_SCRIPT_SANDBOXING
Update Angular if there are peer dependencies issues
How to start a React Native APP for Development ( After initial install )
Recent Comments
- admin on Disable Windows 11 Autoupdate
- Christina on Disable Windows 11 Autoupdate
- admin on Vimeo Thumbnail Generator
- Robert Moeck on Vimeo Thumbnail Generator
- Rainer on Vimeo Thumbnail Generator