Skip to content

Could not build Objective-C module 'cmark_gfm_extensions' compiler errors #212

@Nikolozi

Description

@Nikolozi

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?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions