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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T03:21:08+00:00 2026-06-08T03:21:08+00:00

Is there a quick way to synchronize two (or more) targets in Xcode? This

  • 0

Is there a quick way to synchronize two (or more) targets in Xcode? This becomes an issue when I forget to add a new file to my unit test & integration target. Then I have to go hunting to see what I forgot to add. I can duplicate my “development” target and then re-add the “unit testing” configuration, but that’s a pain. Is there an easier way?

EDIT:

I like John’s answer below but ultimately I used the answer from here, that involves manually editing the project file. With multiple missing files that was the quickest way.

  • 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-08T03:21:09+00:00Added an answer on June 8, 2026 at 3:21 am

    your question focuses on the case where you are adding a single file to a target, and forget to check both boxes to add it to the target you want.

    perhaps you mean that it is a pain to use the identity inspector, but i think this is a handy way to add in one file that i didn’t properly get added to a second target. you can get to the identity inspector by first clicking on the file for which you want to inspect information, and then using Cmd-Opt-1, and then clicking the rightmost tab. notice near the bottom that for me, both targets are checked. for you, in the case of a file that didn’t get added to both targets, one will be unchecked.

    identity inspector

    in the case of not remembering which files you added recently to a target:

    • if you have your project under source control, you can perform “View”
      -> “Version Editor” -> “Show Version Editor” (or Cmd-Opt-Shift-Return), and you’ll get a text-based diff comparison of
      the XML representing your project versus what it looked like at the
      last commit. whatever is new is likely the set of files to look at
      for the checkboxes as in the picture above.
    • if not under source
      control, you may have to go through the files one by one, though you
      might be able to use the finder to sort your source by Date Modified,
      and jog your memory as to the file you added, then go straight to
      that. in terms of going through one by one, once the identity inspector
      is open, you should be able to just click on the first file in the list,
      then use the down-arrow to step through all files, and see which are in
      the desired set of targets and which are not.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there quick way to get the ImageFormat object associated to a particular file
Is there a quick way to add a blank value to a drop down
Is there a quick way to compare equality of more than one values in
Is there a quick way to select the longer of two strings? I want
is there a quick way to do a recursive hg forget on a folder?
In general, is there a quick way to compare two regular expressions and determine
Is there a quick way to add a Doctrine event listener to all tables
Is there a quick way to add a gettext() call to a literal string
Is there any quick way to, given an executable file, create a Windows service
Is there a quick way to get a string containing the sql datatype required

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.