How to add files to a .bundle file in xcode

assets, xcode, xcode5

Solution

I figured it out:

- Locate the `.bundle` in Finder (in XCode you can right click and select "Show in Finder")

- Right click the `.bundle` and choose "Show Package Contents"

- Drag files into the new finder window that opens

Problem

I am working on an iOS application that I did not create and I would like to add some audio and image assets to the project. Right now these are all located in a `.bundle` file and accessed like this: ` [[NSBundle mainBundle] pathForResource:@"MyBundle.bundle/some_audio" ofType:@"m4a"] ` My question is, how do I add new assets to `MyBundle.bundle`? I have located `MyBundle.bundle` in the project navigator and on the filesystem but I can't figure out how to add files.

Original source