Skip to content

Latest commit

 

History

History
71 lines (36 loc) · 1.71 KB

Comparators.md

File metadata and controls

71 lines (36 loc) · 1.71 KB

Comparators

The list of built-in comparators available in xcdiff.

attributes

Compares project attributes (e.g. Organization name, last upgrade check, etc...).

build_phases

Compares build phases i.e. dependencies, sources, headers, to ensure all are present in both projects in the same order.

configurations

Compares build configurations i.e. Debug, Release.

copy_files

Compares copy files build phases i.e. embed frameworks, extensions.

dependencies

Compares dependencies build phases.

file_references

Compares all file references in the Xcode project.

As the comparator is very sensitive, it's likely that differences from other comparators will be flagged here too.

headers

Compares headers including their visibility attributes i.e. Public, Project, and Private.

linked_dependencies

Compares linked dependencies

resolved_settings (optional)

Compares evaluated build settings, the final values used by the build system.

As the comparator uses xcodebuild -showBuildSettings under the hood, it can be slow depending on the number of targets and configurations being compared. As such it's not included in the default list of comparators.

resources

Compares resources i.e. files copied to the resources directory.

run_scripts

Compares Run Script build phases including the name, properties, and input and output file lists.

settings

Compares raw project and target level build settings values.

sources

Compares sources including their compiler flag attributes.

source_trees

Compares the project group structure.

swift_packages

Compares the associated remote Swift Packages.

targets

Compares target names and types.