Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9259347
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:38:12+00:00 2026-06-18T12:38:12+00:00

In Xcode 4, I have a large folder tree with many media files (mostly

  • 0

In Xcode 4, I have a large folder tree with many media files (mostly images) that are being used in the project (iPhone App). In finder they are all in directories and everything is good, but when xcode builds the project, all of my images are suddenly in the root of the app. This really makes no difference to how it runs, but I have A LOT of media and its beginning to bug me. ex:

Xcode project and in finder:

../SomeApp/Images/Source1/image1.png

And in the build project:

SomeApp.app/image1.png

I want it to be

SomeApp.app/Images/Source1/image1.png

Also, I noticed that I access the files by [[NSBundle mainBundle] pathForResource....] and that works fine when they are all in the root folder, but if I manually make a folder for the images, it does not find them.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T12:38:13+00:00Added an answer on June 18, 2026 at 12:38 pm

    you need to add a folder reference i believe, rather than just dropping them in there. Xcode does not really want you to do this if it can be avoided. But basically you can link a folder into your project and the bundle will respect that. Goto add files, then select create folder rederence rather than group.

    If done properly you will see a blue folder not a yellow one.

    Then just confirm the folder is in your bundle under copy bundle resources. But every thing will need to use path for resource, you wont be able to use -[UIImage imageNamed] with files in folders this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have a single Xcode project for a very large code base, I'll
We have a quite large C++ project that we build cross platform for Android
I have an iPhone app (in XCode 4) that uses the standard Tab Bar
I have a static library Xcode 4 project that includes a home-brewed rendering engine,
I have a large file in xCode that contains numerous occurrences of bezierPath (ie
I'm developing an iPhone app that can edit images. Ultimately, I want to have
I've got a relatively large Xcode project that produces a single app. However, I
I have an Xcode project with a large number of targets where I would
I have Xcode 4.3 and that class doesn't use ARC. I have created a
If I type xcodebuild -version it recognises that I have xcode installed: Xcode 4.3.2

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.