Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID
Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.

Copying files to iOS build bundle

ashwinr87ashwinr87 Posts: 115Registered Users
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 -

[LIST=1]
[*]go to Project Navigator (Cmd + 1)
[*]Select your project
[*]Select target
[*]Select "Build Phases" tab
[*]add desired js file to copy bundle resources and remove from compile sources
[/LIST]

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

Here is a screenshot of my project settings -

image

It would be great if someone could tell me what I am doing wrong...
Post edited by ashwinr87 on

Replies

  • Duncan CDuncan C Posts: 8,034Tutorial Authors, Registered Users
    ashwinr87;403144 said:
    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 -

    [LIST=1]
    [*]go to Project Navigator (Cmd + 1)
    [*]Select your project
    [*]Select target
    [*]Select "Build Phases" tab
    [*]add desired js file to copy bundle resources and remove from compile sources
    [/LIST]

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

    Here is a screenshot of my project settings -

    image

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

    I don't think I've ever done that. I just drag the files into the "supporting files" group in the groups and files organizer, and then check the "copy files into project folder (if needed)" checkbox (or whatever the message is.)

    That does the magic you need to do to get your files included into the bundle.
    Regards,

    Duncan C
    WareTo

    mug

    Animated GIF created with Face Dancer, available for free in the app store.
Sign In or Register to comment.