I will try to explain my problem.
I am creating two libs home.a & room.a independently. From home lib I have calls to the functions which I implemented in room.a
I am want two use this two libs in one project, the case is I want to keep room.a as optional. If I don't add room.a in project, I am not able to build project.
Error is:
Undefined symbols for architecture
"_RoomViewController", referenced from:
-[ParentViewController openView:] in home.a
Here RoomViewController
is class from room.a & ParentViewController
is class from home.a
I want to add condition in code home.a to check RoomViewController
is present then create a object of RoomViewController
.
Please suggest me a way for to do this. Thanks in advance.