ttlock / iOS_SDK_Demo

TTLock is a global provider of solutions for smart locks. We provide PCBA and softwares for lock manufactures and end users. We provide open API/SDK for developers. With these APIs/SDKs, you can develop your own applications to manage smart locks. The SDK here is for mobile app to communicate with locks via bluetooth.
MIT License
12 stars 12 forks source link

Not seeing TTDoorSensor class #15

Closed LiborZa closed 1 year ago

LiborZa commented 1 year ago

Hello,

I'm using the TTLock.framework in my Swift project in Xcode. In Headers, there is "@interface TTDoorSensor : NSObject", but when I try to use the 'TTDoorSensor' class in Swift, I get the error message "Cannot find 'TTDoorSensor' in scope". Could you provide some guidance on what I can do to resolve this issue?

Other classes like TTLock, TTWirelessKeypad and TTWirelessKeyFob I have no problem with and I am using it in code. I tried demo app here with ObjectiveC and it seems it has same issue. There must be something missing in header for framework.

Thanks for help, Libor

LiborZa commented 1 year ago

Can anyone help me please?

JuannyiOS commented 1 year ago

Sorry, I did not see your message before. There is an issue with the import. SDK has now been updated with version number 3.2.9. Please update and try it.

LiborZa commented 1 year ago

Seems like its working now. Thanks