My Xocde project is a mix of C, C++ and Swift. And adding these to my Package.swift
.package(url: "https://github.com/swiftlang/swift-markdown.git", branch: "main")
....
.product(name: "Markdown", package: "swift-markdown")
And then simply adding import Markdown in any of my Swift files leads to these errors in Xcode.
Could not build Objective-C module 'cmark_gfm_extensions'
Import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification
Import of C++ module 'std_stdint_h' appears within extern "C" language linkage specification
Any clues on what might be going on?