This makes sure Xcode projects also error out if partial availability is not correctly annotated. See upstream 3a2d0c82.