React Native Cheatsheet
By Oguzhan Cakmak at
React Native
Clean react-native cache
yarn start — —reset-cacheWhen React Native Doesn’t Show the changes
rm -rf ~/.rncache #clean
rm -rf node_modules
killall -9 nodeIf you have duplicate symbols for architecture arm7
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == "React"
target.remove_from_project
end
end
endIn case you have pod issue
pod deintegrate
pod installUnlink the libraries
react-native unlink library && yarn remove libraryiOS
xcode is creating generic xcode archive instead of iOS App Archive
Skip install is NO for the main project target
Skip install is YES for framework (sub-projects) targets
Sub-projects need to have Copy Headers in Project not Public
Installation Directory under Deployment is valid (/Applications for example)