Xcode trying to be too smart for it's own good