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

Need new version of Swift. #489

Open jjs-home opened 2 years ago

jjs-home commented 2 years ago

I have been trying today to update our app and I'm getting a problem with the iosDFULibrary as it was built using Swift 5.3.2. Is it possible to get this using 5.5.2? Here is the error message from XCode. Module compiled with Swift 5.3.2 cannot be imported by the Swift 5.5.2 compiler

philips77 commented 2 years ago

How are you including the library in your project?

  1. CocoaPods
  2. Swift Package Manager
  3. Carthage
  4. Other

What Xcode version are you using?

I'll be releasing a new version of the library in coming days/weeks.

jjs-home commented 2 years ago

Hi Aleksander,

I have tried with CocoaPods. And I’m using XCode 13.2.1.

jjs-home commented 2 years ago

Hi Aleksander,

I’ve just updated to XCode 13.4.1 and similar problem. Module compiled with Swift 5.3.2.cannont be imported by the Swift 5.6.1 compiler.

mldesanctis-cgi commented 2 years ago

Same. I had reported this under https://github.com/NordicSemiconductor/IOS-DFU-Library/issues/475. I am using Xcode 13.4.1 and including the library using Carthage

zhxf2012 commented 2 years ago

Same. I am using Xcode 13.4.1 and including the library using Cocoapods.

jjs-home commented 2 years ago

I managed to get this working by building using Carthage and copying the xcframework files into the XCode project.