How to add javascript file to Xcode4

坚强是说给别人听的谎言 提交于 2019-12-18 13:07:40

问题


I worked with javascript files within Xcode3 before and everything is great, you just need to copy .js into remove the JavaScript file from the Compile Sources build phase and add it to the Copy Bundle Resources build phase just as suggested in this post

the problem now is how do I do the same thing in Xcode4, I can't seem to find the place to do that.

Help please, Thankz all in advance. Pondd


回答1:


Have a check here

  1. Project Navigator (Cmd + 1)
  2. Select your project
  3. Select target
  4. Select "Build Phases" tab, there you will get your desire sections.


来源:https://stackoverflow.com/questions/5959941/how-to-add-javascript-file-to-xcode4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!