NordicSemiconductor / IOS-nRF-Connect-Device-Manager

A mobile management library for devices supporting nRF Connect Device Manager.
https://www.nordicsemi.com/Software-and-tools/Software/nRF-Connect-SDK
Apache License 2.0
91 stars 41 forks source link

Readme instructions for "Multi-Image DFU Format" #202

Closed RaemondAt15 closed 6 months ago

RaemondAt15 commented 7 months ago

I just wanted to note that the Multi-Image DFU Format example doesn't work without adding the example's Util/McuMgrPackage.swift and Util/UTI.swift as well as the ZIPFoundation pod. It would be useful to mention this or include them in the package.

Thanks, Raemond

dinesharjani commented 6 months ago

You mean the Example app doesn't build? I don't follow completely

dinesharjani commented 6 months ago

Added the import statements to the Readme file's code examples. ZIP Foundation is needed as you mentioned, but via SPM it should be pulled auto-magically for you.

RaemondAt15 commented 6 months ago

Sorry. I don't mean the example doesn't build. What I meant is if you are just importing the iOS package to your own project and trying to follow the readme instructions for multi-image dfu, it doesn't work. unless you also copy over those util libraries. My point is that the readme's example usage should work without having to figure out what util libraries have to be copied over.

dinesharjani commented 6 months ago

Are you using Cocoapods or Swift Package Manager?