I have a swift base project iPhone app. I would like to use Zoiper SDK within it. What I got from them are static libraries (.a files):
- libcrypto.a
- libsipwrapper.a
- libssl.a
written probably in Objective-C.
And also external header files
- wrapper_defs.h,
- wrapper_cbk.h,
- wrapper.h
written in Objective-C.
I tried to add bridging header like this:
#ifndef ZoiperTest_Bridging_Header_h
#define ZoiperTest_Bridging_Header_h
#import "include/wrapper_defs.h"
#import "include/wrapper_cbk.h"
#import "include/wrapper.h"
#endif /* ZoiperTest_Bridging_Header_h */
But that returned lots of errors (types used in wrapper.h not being recognized)
Do I have to include also library .a files into bridging header? What would be exact syntax for that?
I've tried adding #import into bridge header but that gives me file not found error.