Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ashwinr87

macrumors member
Original poster
Mar 9, 2011
81
0
I am trying to copy files to the build bundle when I run my application but it does not seem to work.

I am following the steps below -

  1. go to Project Navigator (Cmd + 1)
  2. Select your project
  3. Select target
  4. Select "Build Phases" tab
  5. add desired js file to copy bundle resources and remove from compile sources

However it does not seem to copy anything to my build folder.

Here is a screenshot of my project settings -

rXAox.png


It would be great if someone could tell me what I am doing wrong...
 

PhoneyDeveloper

macrumors 68040
Sep 2, 2008
3,114
93
How do you know it's not copying the file like it says?

Normally you just need to add a file to the project to get it to be put into the app bundle. Are js files different?
 

ashwinr87

macrumors member
Original poster
Mar 9, 2011
81
0
you are right.. it is copying the files..
I was looking at the wrong place..

How do you know it's not copying the file like it says?

Normally you just need to add a file to the project to get it to be put into the app bundle. Are js files different?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.