cmake toolchain helper for ios