Search code examples
iosiphonexcodevapor

Vapor 3.1.10 Xcode-11.3.1 Compile issue


I have created a new vapor project using terminal. When I try building the project I get an error "Redefination of Module" for multiple modules. I tried cleaning the build did everything possible but unable to figure out the error. If anyone had the same issue and was able to fix it, please let me know. below is the attached screen shotenter image description here


Solution

  • It's a problem with Homebrew and Xcode's command line tools. Run sudo rm -rf /Library/Developer/CommandLineTools, clean and then build again