mongodb/swift-mongoc

Manifest parse error with Xcode 11.4

dsalber opened this issue · 4 comments

To reproduce:

Result:

Error "Package Resolution Failed", "manifest parse error: target 'mongoc' referenced in product 'mongoc' could not be found", see screenshot.

Screen Shot 2020-03-30 at 17 32 44

(Note: I have mongo-c-driver-1.16.2.catalina installed through homebrew.)

Rep2 commented

Having the same issue. Is anyone maintaining the repo?

Hi @dsalber, thank you for reaching out and sorry I didn't see this issue sooner.
It seems that the way in which we've set up in the bindings in this repo are no longer compatible with Swift 5.2.
Are you encountering this via trying to use mongo-swift-driver, or are you trying to use libmongoc directly from a Swift application?

Hi @kmahar, I ran into this while trying to use mongo-swift-driver indeed.

@dsalber thanks for the info! This is the same issue being discussed in mongodb/mongo-swift-driver#448 now so if you don't mind I'd like to close this issue and condense the conversation to that thread.
I suggested one possible solution there (use the newer version of the driver, which no longer depends on swift-mongoc) but please feel free to chime in there with more info there about your use case and hopefully we can work out a solution for you.