How to add javascript file to Xcode4
Asked Answered
T

1

11

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

Training answered 11/5, 2011 at 6:4 Comment(0)
T
31

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.
Tavi answered 13/5, 2011 at 10:23 Comment(1)
* add desired js file to copy bundle resources and remove from compile sourcesUp

© 2022 - 2024 — McMap. All rights reserved.