warning : No Rule to process javascript for architecture armv7

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

    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"]
    

    )

提交回复
热议问题