Dear dario_sec,
There are Limitations on including device specific library in iOS applications:
Using device (iOS) specific library has some limitations. The limitations include:
- SwiftUI preview
- simulator based debugging
- workflows.
TapLinx SDK is such a library which supports only physical devices not simulator. Since the NFC tag reading cannot be done through simulator, it is disabled.
SwiftUI preview works with simulator features and TapLinx library supports only physical device execution we are facing issue while previewing the UI.
For preview of UI, library can be temporarily disabled if possible:
In the first screenshort “let manager = TLLibraryManager.shared()” is commented under “initializeLibraryManager()” method and we can preview the UI without any error.
preview_XCode_Taplinx_iOS_NOTworking.png
preview_XCode_Taplinx_iOS_working.png