Search code examples
swiftzebra-printersbridging-header

Zebra Printer SDK swift


I am currently trying to write an App, that connects to a Zebra printer using Swift. I followed these instructions to link the SDK to the project and this page for information on what to add to the bridging header.

This is where it fails. As soon as I add a single line to the bridging header, for example #import "SGD.h" it does not compile, with the error 'SGD.h' file not found enter image description here


Solution

  • I figured it out: This was not very clear from the instructions, but I configured those settings in The Project settings, not the Target settings.photo I also had to disable Bitcode.