[iOS] Fix the open source iOS 12 build after r236445