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
86 stars 37 forks source link

Fatal Error : unexpectedly found nil - Problem with the upload method that uses callback response #208

Open vlasty-proglove opened 2 months ago

vlasty-proglove commented 2 months ago

Hi all,

There is a problem because the upload method with the callback does not set the uploadConfiguration and it is explicitly unwrapped.

image

The configuration is not set in the method, and as I saw in code, it is only set by using the method with the delegate option.

Screenshot 2024-04-10 at 1 37 40 PM

For now, I can use only the method with the delegate option, but sometimes my code requires me to use the callback since it is much easier for error handling.

Thank you all for this awesome SDK.