spot_img
HomeEducationA bash helper for clearing the ios artifacts in a react-native undertaking...

A bash helper for clearing the ios artifacts in a react-native undertaking Get hold of US

jaleksic 3 hours in the past.
Disclaimer: This isn't precisely a JS put up as I hyperlink to bash scripts, however it is rather a lot associated to working in react-native, which is a JS context total (in my view..)

I've made this nuke-ios bash helper for working in react-native tasks on MacOS some time in the past, and have been bettering it since. I discover it very useful as a result of I can simply "flush" the transferring iOS elements shortly and see if issues work accurately "from scratch".

Utilization:
# simply delete native artifacts
nuke-ios

# additionally delete world XCode DerivedData
nuke-ios --global # or -g

# reinstall pods after deleting them
nuke-ios --install # or -i



That is finest utilized in mixture with e.g. "rm -rf node_modules && nuke-ios", and even higher with one other alias like nuke-npm which works recursively in monorepos. See  for that.

I often run "nuke-npm && nuke-ios -g -i" and I am reasonably proud of it :)

Cheers

#bash #helper #clearing #ios #artifacts #reactnative #undertaking

RELATED ARTICLES
Continue to the category

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -spot_img

Most Popular

Recent Comments