I struggled with that also but i finally solved it.
to every header where you need it. Don't forget to rename your classes
from .m to .mm to make it run. To use the
framework in your c++ files just include it.
As Joe mentioned, have a look at this