warning : No Rule to process javascript for architecture armv7

前端 未结 4 1349
逝去的感伤
逝去的感伤 2021-01-01 11:56

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         


        
4条回答
  •  温柔的废话
    2021-01-01 12:08

    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.

提交回复
热议问题