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 7854987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T20:14:59+00:00 2026-06-02T20:14:59+00:00

I made a generic app, and from that app, I use different images to

  • 0

I made a generic app, and from that app, I use different images to make different apps (same app, different images).

My idea until now has been every time I was generating a new app, I copied the code and changed the images (and sometimes some lines of code). But every time I change something in the main app, I have to change it in all the sub-apps.

I’ve been thinking about using target for this (every time I create a new one, I use a new target with a new folder images linked to it), but I’m not sure about this as I never worked with targets before.

Is this the best approach?

And if it is, how is the best way of doing it? I created a new target inside my project, but it creates a whole new project inside of it, with its owns classes.

  • 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-02T20:15:00+00:00Added an answer on June 2, 2026 at 8:15 pm

    For your case, using multiple targets is a good solution. For each target you’ll include all sources, and only the images used by that target (images can have the same name, just put them in separate folders).

    On Xcode 4, you’d need to follow these steps:

    1. Go to Project settings, right click on your main app target and choose ‘Duplicate’. This will already include same sources from the main app.

    2. Unlink all images that you don’t need in your new target:

      • select all images that you want to unlink, and in the utilities panel (usually placed on the right), in the ‘File Inspector’ section, uncheck your new target
    3. Create a new folder in which you place the images for your new target/app, and when you import them in the project, choose to link only with your new target.

    4. When you duplicate your target, it will also automatically create a new info.plist for your new app. You’ll need to change the bundle id, and any other options that you wish.

    Another option would be to make the main project as a static library, and in all other projects include the main project, and link the target. Won’t get into this, since the targets solution seems better for your case, for only changing the images.

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

Sidebar

Related Questions

I've made a generic class that saves and queries objects from a flat file.
I've made a generic extension method that executes an action on an object and
I have made a generic PHP script to use for an AJAX call. I
I've just made the unfortunate (for my app at least) discovery that two methods
What made me curious is that the generic handler works just fine when I'm
I just made a very simple test app using documentation from MSDN. All I
I have made a generic function to show jQuery dialogs in my app. this
I made a function in my wxpython app that pop up a passwordbox. The
I was wanting to add some components and generic code that I made in
I have made a generic Observer interface and an Observable class, but can't compile

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.