Handling a third party library in iOS with optional/-weak_framework.

we develop a framework to provide a particular service with the help of a third-party framework that is added to my framework. (as a sub-framework).

is it possible to handle the third-party framework optional and if that framework is added in the ios app instead of in my framework, will it be found in my framework runtime?

I tried with -weak_framework but run into a complier error on #import.