I am getting a warning when I try to run JavaScript with Cocoa:
warning: no rule to process file \'$(PROJECT_DIR)/myJavaScriptFile.js\' of type sourcecode.ja
The way to fix this is to click on the myJavaScriptFile.js
file in the left hand pane of Xcode. Then on the right hand pane, highlight the File Inspector (the first icon) and then look at the Target Membership section. You will find that it is ticked for at least one of your Build Targets. Untick it from all Targets. Then do a Cmd-Shift-K Clean and then a Cmd-Shift-B Analyse.