bloomberg / xcdiff

A tool which helps you diff xcodeproj files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Swift Package comparator

kwridan opened this issue · comments

commented

Is your feature request related to a problem? Please describe.
As of Xcode 11, Xcode projects can now specify Swift Package dependencies for its targets.

Describe the solution you'd like
Add a comparator that can diff any declared Swift Packages, including version rules.

For example, given the following 2 projects:

Project 1:

Screenshot 2019-11-14 at 08 04 39

Project 2:

Screenshot 2019-11-14 at 08 03 42

Running xcdiff -v could produce results that look like:

❌ SWIFT_PACKAGES

⚠️  Only in second (1):

  • Swifter (https://github.com/httpswift/swifter)

⚠️  Value mismatch (1):

  • SQLite.swift - Version Rules
    ◦ Next Major From: 0.12.2
    ◦ Next Minor From: 0.12.2