XCode's JS complaints (and how to silence the warnings)
If you put a JS file in the Resources of your XCode project, it will complain:
To silence the warnings, remove any JS files you see added to the Targets → <your project> → Compile Sources folder.
This solution courtesy of atomicbird (thanks!)
Similarly, however, if you find that you cannot load your JS file from the resource bundle (via NSBundle), make sure that you manually add it to the Targets → <your project> → Copy Bundle Resources folder.