How to fix -resources.sh: line 7: realpath: command not found in Xcode

Viewed 7874

I'm setting up a new project with pods. Where do I need to set the path for below error

-resources.sh: line 7: realpath: command not found
3 Answers

If you have Homebrew you can fix this with brew install coreutils

Simply cleaning build folder (Product -> Clean Build Folder) fixed the issue for me.

Slightly old question, but here is my fix for those who come later:

  • Clean build folder
  • Exit Xcode
  • Run pod deintegrate
  • Run pod install
  • Restart Xcode and clean again

Always fixes this problem.

Related