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

Cocoa application with iOSDFULibrary

Hi, I'm new using XCode and I'm trying to use this guide: github.com/.../documentation.md

I created a simple Cocoa Application, then I added iOSDFULibrary.framework in General - Embedded Binaries in the .xcodeproj file (I suppose that the file is iOSDFULibrary.framework and not DFULibrary.framework), then I tried to add this code in the file ViewController.swift:

let selectedFirmware = DFUFirmware(urlToZipFile:url)

but I'm receiving the error: /Users/chiara/Documents/CocoaApp2/CocoaApp2/ViewController.swift:21:32: Use of unresolved identifier 'DFUFirmware'

The step 3 is not necessary if I used the step 2, isn't it? Thanks

Related