Add support for generating iOS project files with CMake

This is a minor tweak to previous addition to warn if the wrong CMake options are used