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
I propose a work around I use, which streamline the process when you have to update on regular basis your javascript, by getting rid of any additional manual operation.
Say you have a file name code.js included in a code.html.
simply rename code.js into code.js.html and don't forget to change your inclusion tag in the html as follows:
into
Then you simply have to add code.js.html and code.html to your resource straight into xcode and voila!