Set the Xcode explicitFileType attribute on its reference to a target. CMake computes a default based on target type but can be told explicitly with this property.
See also XCODE_PRODUCT_TYPE.
XCODE_ATTRIBUTE_<an-attribute>
XCODE_GENERATE_SCHEME
Enter search terms or a module, class or function name.