NordicSemiconductor / IOS-DFU-Library

OTA DFU Library for Mac and iOS, compatible with nRF5x SoCs
http://www.nordicsemi.com
BSD 3-Clause "New" or "Revised" License
526 stars 215 forks source link

Xcode13 can't not #454

Closed IrisMo closed 3 years ago

IrisMo commented 3 years ago

Information It can be used normally before. When I upgraded to big sur 11.6, xcode13, the SDK will report the following error when compiling, and the demo of the mac version can be reproduced. Will you be able to adapt later? Or what can I do to avoid this situation? Hope to get your reply, thank you!

wecom-temp-81b84271485d47a9e92d8a53e23b7567
dinesharjani commented 3 years ago

Thanks for bringing this up @IrisMo - we just merged a fix to the develop branch: https://github.com/NordicSemiconductor/IOS-DFU-Library/pull/455

Try it out when you can.

stami-fb commented 3 years ago

@philips77 @dinesharjani can we get a Cocoapods release from this Xcode 13 compatible version, please? 🙏

I'm using react-native-nordic-dfu which has this repo as its Cocoapods spec dependency, and those cannot be pointed to a git branch (because of how Cocoapods works). ☹️ So this is preventing anyone from using that on Xcode 13 right now...

philips77 commented 3 years ago

I'll do this tomorrow.

spaceMan00 commented 3 years ago

@philips77 @dinesharjani has this fix been released for cocoapods? I still cannot build on xcode 13 for iOS. Getting similar errors image

sofiaschn commented 3 years ago

@philips77 @dinesharjani has this fix been released for cocoapods? I still cannot build on xcode 13 for iOS. Getting similar errors image

I am also having the same problem. The way i fixed it, at least until the fixes get to Cocoapods, is by replacing the library's folder (Pods/IOSDFULibrary) with a clone from the develop branch (make sure the names match). Then, run 'pod install' and it should work for now.

@philips77 @dinesharjani, if possible, can you update the main branch with the fixes? Thanks!

philips77 commented 3 years ago

I'm on it!

philips77 commented 3 years ago

Fix released in 4.11.1.