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
13 stars 12 forks source link

TTLockDFU usage without any pod installation. #36

Open pinalpsspl opened 5 months ago

pinalpsspl commented 5 months ago

We are using TTLockDFU in the swift package, we will be using this swift package to perform a gateway firmware upgrade.

we tried to use TTLockDFU xcframework without installing pod in your demo project but we faced an issue here i am attaching a zip of the demo project and error screenshot

Screenshot 2024-05-28 at 5 17 18 PM iOS_SDK_Demo-master-2 2.zip

ttlock commented 5 months ago

"iOSDFULibrary" sdk is belong to "nordic" company. We only know this integration method. You can search for "iOSDFULibrary" on GitHub to see if there are any other ways

pinalpsspl commented 5 months ago

can you create a swift package for TTLockDFU and manage its dependency inside TTLockDFU swift package?

or can you use XCFramework of https://github.com/NordicSemiconductor/IOS-DFU-Library, and use it internally ?

pinalpsspl commented 5 months ago

can you create a swift package for TTLockDFU and manage its dependency inside TTLockDFU swift package?

or can you use XCFramework of https://github.com/NordicSemiconductor/IOS-DFU-Library, and use it internally ?

@ttlock @JuannyiOS

any update on it?

ttlock commented 5 months ago
  1. We have no plans to create a swift package for TTLockDFU.
    If you change the pod method of 'iOSDFULibrary' to the swift package method, Can you also successfully use TTLockDFU ?

  2. XCFramework Internal use of iOSDFULibrary is not work.

pinalpsspl commented 5 months ago

1 -> We have tried with approach suggested by you but still, we are facing errors. iOS_SDK_Demo-master-2.zip