[Xcodeproj] Improve support for user build configurations

Closes #1462