Copying files to iOS build bundle

Discussion in 'iOS Programming' started by ashwinr87, Jan 20, 2012.

  1. ashwinr87 macrumors member

    Mar 9, 2011
    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 -


    It would be great if someone could tell me what I am doing wrong...
  2. PhoneyDeveloper macrumors 68040


    Sep 2, 2008
    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?
  3. ashwinr87 thread starter macrumors member

    Mar 9, 2011
    you are right.. it is copying the files..
    I was looking at the wrong place..


Share This Page