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
Remove .js file from Compile Sources and add to Copy Bundle Resources in a Build Phases page (if you want to access this file in your application through
[NSBundle mainBundle] pathForResource:@"myJavaScriptFile.js"]
)