Xcode project file comparison tool

I have been provided with Xcode project files for versions 1 and 2 of the iOS application. Version 1 works, version 2 does not work with a lot of features. The original programmer is no longer available. The version control system was not used.

Is there a tool for comparing different projects - so that I can see what code was added between versions 1 and 2?

+6
source share
2 answers

I am pretty sure that almost everything in the xcode project is stored in text files, so you can use standard diff tools to compare projects. This, of course, excludes resources such as images, audio, etc.

FileMerge is an application that comes with Apple Developer tools. It differs and merges. It can be launched through the terminal using the opendiff .

+16
source

You can compare two Xcode projects using the FileMerge tool available with Xcode.

Below are the steps to compare in Xcode 6.1

  • Right-click the Xcode icon β†’ Select β€œ Open Developer Tool” β†’ Select β€œFileMerge” .

Screenshot 0

  1. This will open a window as shown below:

Screen shot 1

  1. Select the two Xcode projects you want to compare by clicking the Left and Right buttons

  2. Click the Compare button. This will create a list of files to be added, deleted or modified. by comparing two Xcode projects.

Screenshothot 2

+20
source

Source: https://habr.com/ru/post/895749/


All Articles