简体   繁体   中英

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM