Fix `check` target for iOS