Trying to build a Cocoapod for iOS and Couchbase Lite

I just tried it again and it doesn’t actually work.

Class in Xcode project:

import CouchbaseUtils

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib
        
        let _ = CBLManager.sharedInstance()
    }
    ...
}

Error message in Xcode:

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_CBLManager", referenced from:
      objc-class-ref in ViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Using CBL in a framework should be possible in 2.0 though (see Installing Couchbase Lite with Cocoapods in a framework)