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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T18:59:57+00:00 2026-06-08T18:59:57+00:00

I am creating a generic app which will have different builds for different customers.

  • 0

I am creating a generic app which will have different builds for different customers. The app is 99.5% identical for each customer, the difference being each is branded with the customer’s own particular images and text and app icon etc.

Obviously this could be done using flags such as:

#if defined (CUSTOMER_A)
    NSString* text = @"Text for customer A";
    UIImage *image = [UIImage imageNamed:@"customerAImage"];
#elseif defined (CUSTOMER_B)
    NSString* text = @"Text for customer B";
    UIImage *image = [UIImage imageNamed:@"customerBImage"];

But obviously I’d like to avoid this and just have:

   NSString* text = @"Text";
   UIImage *image = [UIImage imageNamed:@"image"];

(The text would be localizable, so it would be using NSLocalizedString in the final version).

I was wondering if a possible approach would be to place the project into a workspace along with a number of static libraries, each of which contains the specific text and images for each customer and then use different schemes to create different builds. So Scheme A would create a target built with the main project and static library A for example.

I started with a small proof of concept but before going too far with it I’d first like to check this is a feasible and reasonable approach, or if there’s a better alternative. If it is feasible then a few questions come to mind:

  • how can an image in a static library be accessed from the code in the main project? Does a bundle have to be created to access the contents of the library, how is this done?

  • is it possible to change the application desktop and marketplace icons depending upon which scheme is used?

  • is it possible to specify a different set of distribution certificates etc. to be used per scheme?

  • is it true that static libraries cannot contain localized variants?

This is for iOS so its not possible to use a framework for this.

Thanks for any feedback.

(P.S. the build system will be automated using Jenkins).

  • 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-08T18:59:58+00:00Added an answer on June 8, 2026 at 6:59 pm

    You just need to create multiple targets in your project and have
    resource folders for each target (customer/brand).
    Here’s how to accomplish this:

    1. Create two new Resource Folders
      a. Resources_Customer1
      b. Resource_Customer2
    2. Copy the appropriate resources into the respective folders
    3. Select Project -> Targets
    4. Duplicate the Target
    5. Customize the Resources Name in [Copy Build Resources] so that it points to the appropriate
      customer/brand
    6. Test and Verify the appropriate Target runs based upon the Target selected.

    Hope this helps!

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

Sidebar

Related Questions

I have seen two different approaches for creating generic repositories. What are differences between
So I am creating a web app, that will give each registered user a
Im creating my first app for Windows 8 and i have a question. In
for that past couple of weeks I have been creating generic script that is
I'm creating a Silverlight uploader using a generic handler and asp. The app runs,
I have a ListBoxItem style which I'm creating to mimic the 'Down and Away'
I'm new to ASP.NET MVC and I'm creating an app that will search a
I have a Django model which can have many generic relationships. This is achieved
I'm creating 'generic' wrapper above SQL procedures, and I can resolve all required parameters'
I'm not really familiar with creating generic methods, so I thought I'd put this

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.