React Native assumption.
rm -rf ~/Library/Caches/com.apple.dt.Xcode/
xcodebuild clean
xcodebuild -alltargets clean
xcodebuild clean
xcodebuild -alltargets clean
xcrun -k
xcrun simctl erase all
rm -rf ~/Library/Developer/Xcode/iOS\ DeviceSupport/*/Symbols/System/Library/Caches
rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang/ModuleCache"
rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang.$(whoami)/ModuleCache"
rm -rf ~/Library/Caches/Homebrew
brew cleanup -s
rm -rf $(brew --cache)
rm -rf ~/Library/Caches/SwiftLint
pod cache clean --all
rm -rf ~/Library/Caches/org.carthage.CarthageKit
rm -rf ~/Library/Caches/carthage
rm ~/.fastlane/spaceship/**/cookie
end
Expected to be used under the project.
watchman watch-del-all
rm -rf node_modules/
yarn install
yarn cache clean
rm -rf ~/Library/Caches/CocoaPods
cd ios && rm -rf Pods/ && pod install && cd ..
end
-Summary of cache deletion method in iOS application development -List of things to do when iOS simulator does not start in React Native
Recommended Posts