Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add javascript file to Xcode4

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

like image 995
Suwitcha Sugthana Avatar asked May 11 '11 06:05

Suwitcha Sugthana


1 Answers

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.
like image 92
Learner Avatar answered Oct 19 '22 12:10

Learner