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

  • Home
  • SEARCH
  • 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 6244223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T12:17:18+00:00 2026-05-24T12:17:18+00:00

I have made two targets in my project. One for a Staging version and

  • 0

I have made two targets in my project. One for a Staging version and one for a Release version. This way I control the different setting that goes into each build.
(different version, different identifier, different URL schemes etc.)

Everything in the (with the appropriate target selected) “Build Settings” tab behaves nicely and does not change. The things in the “Summary” and “Info” tabs, however does not persist between building/running the app.

If I go to the Staging Target and enter a version number, then to the Release Target and enter a different number everything is fine at first. When I Run the project, however, the values gets “synchronized”. So if I run the Scheme that uses the Release Target it will set Release Target values on the Staging and vice versa.

In my understanding the targets inherits their values from the Project Settings, but I am pretty sure they should not inherit from each other, which would defy the point of targets.

Is there somewhere I have linked the two or ticked a wrong checkbox?

Thanks for any help given.

  • 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-05-24T12:17:21+00:00Added an answer on May 24, 2026 at 12:17 pm

    The problem turned out to be that the apps app-info.plist file took precedense over the target settings. This meant that settings/values that were in both the target setting and the app-info.plist file would end up selecting the app-info.plist values at compile time.

    The solution is to make an individual info.plist file for each target.
    I now have app-info-staging.plist and app-info-release.plist – each with the values specific for the target. Doing it like this makes the target plist file take precedense over the app-info.plist file.

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

Sidebar

Related Questions

I have an iPhone project (Xcode, Objective C++) with two targets - A and
I've created a iPhone static library project with two targets like this Project -->
I have made a .jar file that joins two wave files together.I call it
I have installation solution that have installer project (not web installer but simple installer)
I am having a problem where I have made a database that contains 7
I am working on a project where one of the requirements is to re-write
this is a bit of an ambiguous one as to whether it is for
In my searchable.xml in my android project, I get to specify a hint that
I'm in a bit of a pickle... I work on a project that is
I have MethodBases for two functions: public static int Add(params int[] parameters) { /*

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.