如何将javascript文件添加到Xcode4 [英] How to add javascript file to Xcode4

查看:150
本文介绍了如何将javascript文件添加到Xcode4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

之前我使用过Xcode3中的javascript文件,一切都很棒,你只需要复制.js就可以从Compile Sources构建阶段删除JavaScript文件,并将其添加到Copy Bundle Resources构建阶段,就像这个< a href =https://stackoverflow.com/questions/2017937/how-to-add-js-file-to-my-xcode-project>发布

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

现在的问题是如何在Xcode4中做同样的事情,我似乎无法找到这样做的地方。

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

请提前帮助,谢谢。
Pondd

Help please, Thankz all in advance. Pondd

推荐答案

点击此处


  1. Project Navigator(Cmd + 1)

  2. 选择您的项目

  3. 选择目标

  4. 选择构建阶段选项卡,您将获得所需的部分。

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

这篇关于如何将javascript文件添加到Xcode4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆