OpenGLMetalInteroperability

Hi All,


I am trying to convert an objective C OpenGL ES project to Metal using the ezample OpenGLMetalInteroperability.


I was putting code into my project from OpenGLMetalInteroperability when I got the error "AAPLMetalRenderer.h:8:1: Use of '@import' when modules are disabled"


So I had a look at the OpenGLMetalInteroperability project and found it had in the project settings Metal Compiler - Build Options.


My question is is there any way to convert my existing project to Metal or do I have to start with a Metal project and copy my old project into it ?


I don`t want to do the latter as it is a very large project !!!!


Thanks in advance.