americanexpress / xcprojectlint

A security blanket for Xcode project files
Apache License 2.0
504 stars 18 forks source link

Alpha order check doesn't match Xcode behaviour #22

Closed orj closed 4 years ago

orj commented 4 years ago

The current items-in-alpha-order validation doesn't match Xcode behaviour.

When I select "Sort by Name" or "Sort by Type" in Xcode's project navigator context menu items are sorted in a manner that differs from how xcprojectlint expects.

xcprojectlint should provide validations that match Xcode's behaviour. This reduces load on developers having to manually sort groups and rely on what a pretty sane defaults on the part of Xcode.

Our project expects groups to be sorted by name as per Xcode's default. As it stands we can't use xcprojectlint's items-in-alpha-order validation.