I ran into an odd problem today while trying to compile a test plugin. I get an error message stating that at least one of the module paths is not set. Strangely, this worked until recently and I don’t see anything that would likely cause this problem.
Note: I confirmed that all of the module paths make sense (see further down) & this project does compile with no problems when done directly in Xcode 10.
echo "resave and compile" /Applications/Projucer.app/Contents/MacOS/Projucer --resave $HOME/Documents/SourceControl/SineSynth/SineSynth.jucer /Applications/Projucer.app/Contents/MacOS/Projucer --resave-resources $HOME/Documents/SourceControl/SineSynth/SineSynth.jucer cd $HOME/Documents/SourceControl/SineSynth/Builds/MacOSX/ xcodebuild -project SineSynth.xcodeproj -configuration Debug
The error message:
resave and compile Re-saving file: /Users/me/Documents/SourceControl/SineSynth/SineSynth.jucer Error when saving: At least one of your JUCE module paths is invalid! Please go to the Modules settings page and ensure each path points to the correct JUCE modules folder.
The module path is shown here & is the same for all modules: