How to add js file to my xcode project?

前端 未结 3 1132
一个人的身影
一个人的身影 2020-12-08 04:38

I add some js and css files in my xcode left project tree. but when I build this project , I got the warning : no rule to process file \'$(PROJECT_DIR)/js/builder.js\' of ty

3条回答
  •  甜味超标
    2020-12-08 05:17

    For Xcode 4, click on the main project, click on Build Phases. Open up Compile Sources and Copy Bundle Resources then you can then simply drag the files from one to the other.

提交回复
热议问题