This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

iOS DFU problem

Hi Nordic,

I am now using NordicDFU swift package for my iOS app. Before I was using an older version which was working perfect. 

Now after I have updated the swift package my app does not work because the absolute filepath is nil. Please have a look at the pictures.

I am using Xcode version 12.1.

How can this be fixed?

Regards
Jens

Parents
  • Hello,

    Nothing has changed when respect to how the lib handles URL for a long time. I think this hasn't changed since version 4.0.

    Your issue looks weird, as the fileURL is set few lines before. Isn't it nil as that init method and will go further, or for our crash there? I think it's xcode issue. I recommend cleaning caches, derived days, deintegrating pod, if you use it, or recompiling again sources.

Reply
  • Hello,

    Nothing has changed when respect to how the lib handles URL for a long time. I think this hasn't changed since version 4.0.

    Your issue looks weird, as the fileURL is set few lines before. Isn't it nil as that init method and will go further, or for our crash there? I think it's xcode issue. I recommend cleaning caches, derived days, deintegrating pod, if you use it, or recompiling again sources.

Children
Related