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

Trying to migrate an Objective C project to Cocoapods for an iOSDFULibrary with Xcode 9 results in an unopenable project

Hi,

When I take a vanilla Objective C Xcode project and try to convert it to Cocoapods for an iOSDFULibrary with Xcode 9 results in an unopenable project. You get an error "Unsupported Swift Version". Please see the attached screenshot.

I’ve tried both: github.com/.../IOS-Pods-DFU-Library github.com/.../IOS-nRF-Toolbox Both result with the same error in the attached screenshot.

This issue seems to be a newer incarnation of: devzone.nordicsemi.com/.../ image001.png

  • Unfortunately we cannot move forward any longer with Obj-C as its Swift counterpart is much more performant and extensible, even if we had an Obj-C project we will still opt-in to use Cocoapods and/or carthage, those dependency managers might not be very viable for your use case, but are cruical to many customers that have bigger projects that requires a package management system. the reason you are having difficulties has to be related to another issue and is not really the fault of Cocoapods or Carthage, as you can see, our statistics on our podspec's page prove otherwise, 69k downloads and 1.7k apps, I'm sure you are hitting an edge case here, but we will gladly help you out with your issues 1 on 1 if you are interested :) you may contact me directly on [email protected]

Related