Swift Mac Catalyst

Swift Mac Catalyst

Swift Mac Catalyst



Audience

I am using the Zebra libZSDK_API.a in my Swift application. I created the objective c bridging header and it is working properly on my iOS and iPad OS devices. I am building the app for Mac Catalyst now and I am getting this error. What can I do to get this fixed? The Mac users will not be using the printer function so is there a way I can disable it for Mac Users?
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_MfiBtPrinterConnection", referenced from:
objc-class-ref in PrintManager.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)