auto_common_spec: fix build on ios