Revert "Untested attempt at fixing the iOS build (see #6972)"

This reverts commit a84597f266358f14ea1a51bd7cbefe971ae668c9.
use libc++ for iOS to avoid additional directives
Merge pull request #7140 from AbandonedCart/master

use libc++ for iOS to avoid additional directives