warning : No Rule to process javascript for architecture armv7

前端 未结 4 1350
逝去的感伤
逝去的感伤 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:01

    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!

提交回复
热议问题