1. XCODE

cd ios
xcodebuild clean

2. Android

cd android
./gradlew clean