Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Nikolozi opened this issue Jan 25, 2025 · 0 comments
Open

Comments

@Nikolozi
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant