NordicSemiconductor / IOS-DFU-Library

OTA DFU Library for Mac and iOS, compatible with nRF5x SoCs

Home Page:http://www.nordicsemi.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SIGABRT when i use DFUServiceInitiator().with(firmware: firmware)

aflorentin opened this issue · comments

Information
This GitHub Issue page is for reporting issues or asking questions regarding the iOS DFU library. For general DFU questions, SDK questions, etc, please check our DevZone.
Make sure you are using the latest version of the library: Version
Also, before creating a new issue, make sure similar issue isn't already opened in open or closed issues.

DFU Bootloader version (please complete the following information):

  • Library version: 4.11.1

Device information (please complete the following information):

  • Device: iPhone 11 Pro
  • OS: IOS 14.6, IOS 15.0

Describe the bug
A clear and concise description of what the bug is.
Hi, I was using the version '4.6.1' for a long time now and i have no problem to update my DFU device.
I had to upgrade to the latest version (4.11.1) because of Xcode and since i got a SIGABRT when i use DFUServiceInitiator().with(firmware: selectedFirmware).

First

Second

I have an application version with library version 4.6.1 that I use to test my firmware and the update is going well.

If you have an idea.
Thank you very much

Hello,
This looks like an issue with xcode. Try clearing caches, perhaps rebuilding frameworks if you're using Carthage, etc.
Does it happen every time?

This is the method that you have issue with:

@objc public func with(firmware file: DFUFirmware) -> DFUServiceInitiator {
self.file = file
return self
}

Hi, thank you for your answer yes this happen every time when i try to update and I use Cocoapod.
I will try to clear my caches

I clear my caches but nothing change