Summary of copy and paste commands used when you want to delete the cache in iOS application development anyway

Summary of copy and paste commands used when you want to delete the cache in iOS application development anyway

React Native assumption.

Xcode system list

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

React Native system list

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

Reference URL

-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

Summary of copy and paste commands used when you want to delete the cache in iOS application development anyway
Summary of frequently used commands in Rails and Docker
When you want to change the MySQL password of docker-compose
[For those who want to do their best in iOS from now on] Summary of the moment when I was surprised after developing an iOS application for two and a half years
[Swift] When you want to know if the number of characters in a String matches a certain number ...
Method definition location Summary of how to check When defined in the project and Rails / Gem
[RSpec] When you want to use the instance variable of the controller in the test [assigns is not recommended]
A memo when you want to clear the time part of the calendar
Summary of means when you want to communicate with HTTP on Android
Summary of good points and precautions when converting Java Android application to Kotlin
If you want to satisfy the test coverage of private methods in JUnit
[Github] Summary of commands often used during development
When you want to bind InputStream in JDBI3
When you want to use the method outside
How to delete the database when recreating the application
[Ruby] When you want to assign the result obtained by conditional branching to a variable and put it in the argument
I want you to put the story that the error was solved when you stabbed the charger in the corner of your head
[rails] After option useful when you want to change the order of DB columns
Copy and paste the source in class development ...? That's NO! Let's know about "inheritance"!
Summary of how to use the proxy set in IE when connecting with Java
Personal summary of the guys often used in JUnit 4
When you want to dynamically replace Annotation in Java8
If you want to recreate the instance in cloud9
[Spring Data JPA] Can And condition be used in the automatically implemented method of delete?
I will explain the difference between Android application development and iOS application development from the perspective of iOS engineers
Use JLine when you want to handle keystrokes on the console character by character in Java
I tried to develop the cache function of Application Container Cloud Service in the local environment
When you want to reflect the Master Branch information in the Current Branch you are currently working on
Copy and paste the file contents in Ubuntu's Docker container
I want to bring Tomcat to the server and start the application
When you want to explicitly write OR or AND with ransack
Comparison of version strings (Java implementation) when you want to branch the process between two versions
Object-oriented design that can be used when you want to return a response in form format
[For super beginners] The minimum knowledge you want to keep in mind with hashes and symbols
How to write when you want to handle "array of C language strings" like argv [] in Ruby-FFI
What to do when you want to know the source position where the method is defined in binding.pry
When you want to check whether the contents of a property can be converted to a specific type
If you want to mock a method in RSpec, you should use the allow method for mock and the singleton method.
A trick when you want to insert a lot of line breaks and tabs when substituting a character string