How to Reset IOS folder in react-native
03:32 18 Apr 2019

I'm working on a react-native application, I made some mistakes on the iOS project side. Android goes well and no problems. I would like to know if there is any solution to completely reset the iOS project without losing the Android project.

When running the react-native run-ios command, the iOS simulator starts and remains locked in info IDEDerivedDataPathOverride

What I tried to do:

cd ios
pod deintegrate
pod install

-------- the same problem, did not work

I check on npm and I found a package react-native-clean-project and i ran: ./node_modules/.bin/react-native-clean-project --remove-iOS-build

-------- the same problem

rm -rf ios/build 

-------- the same problem

and in last thing i remove the node_modules folder, install it again, clean the cache, but is the same problem...

I want to make a fresh ios folder, like when create a fresh project, but just for iOS.

javascript ios react-native npm