Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to compare 2 Xcode targets

Tags:

How would I compare the differences between two targets of the same project in Xcode? I'd like to see the differences in the source, and perhaps build-info too.

like image 265
Nick Avatar asked Sep 01 '10 10:09

Nick


People also ask

How do I see targets in Xcode?

Click on the project file in the Project Navigator. You should see your Project and Targets list on the left pane. Click on the Build Phases tabs.

What is the difference between project and target in Xcode?

An project is a repository for all the files, resources, and information required to build one or more software products. A target specifies a product to build and contains the instructions for building the product from a set of files in a project or workspace.

How do I find my target Swift?

Show activity on this post. In Xcode, go into the build configuration for a target. Find the section called Swift Compiler - Custom Flags, which contains a setting called Other Swift Flags. Add a command-line flag for the compiler to add a flag, pretty much just like you'd do with the C compiler.

How do I change project target in Xcode?

Changing the target name is just as simple. Click on the project name at the top left, then select a target name on the right pane followed by pressing "Enter". Type in the new name. @Alan, in Xcode 6, this was changed to a square icon, with a bolded line on the left side.


1 Answers

You can compare the build settings by selecting both target then 'levels'

Compare targets

As far as im aware, there is no easy way to compare what source files are included in each target.

like image 151
Robert Avatar answered Sep 27 '22 19:09

Robert