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

[Fix] Compilation failure with Xcode 12.5 and SPM #245

Merged
merged 1 commit into from
Feb 12, 2021

Conversation

claurel
Copy link
Contributor

@claurel claurel commented Feb 11, 2021

After updating to Xcode 12.5, the Down framework no longer builds (at least when used through the Swift Package Manager.) The compiler error message is:

Unknown type name 'cmark_reference_map' inlines.h

Including the file references.h in inlines.h fixes the problem. This is a quick and dirty fix. Ideally, it shouldn't be necessary to modify the CommonMark code to fix this.

@codecov-io
Copy link

Codecov Report

Merging #245 (3b15227) into master (cbe21ad) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #245   +/-   ##
=======================================
  Coverage   68.73%   68.73%           
=======================================
  Files          75       75           
  Lines        2050     2050           
=======================================
  Hits         1409     1409           
  Misses        641      641           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cbe21ad...3b15227. Read the comment docs.

@johnxnguyen johnxnguyen changed the title Fix build break with Xcode 12.5 [Fix] Compilation failure with Xcode 12.5 Feb 12, 2021
Copy link
Owner

@johnxnguyen johnxnguyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @claurel , thanks for the contribution. I'm happy to accept a temporary solution and will take some time to investigate what's going wrong. I'm looking into making the framework more SPM friendly so this quick workaround buys me a little time. Thanks!

@johnxnguyen johnxnguyen changed the title [Fix] Compilation failure with Xcode 12.5 [Fix] Compilation failure with Xcode 12.5 and SPM Feb 12, 2021
@johnxnguyen johnxnguyen merged commit 277507d into johnxnguyen:master Feb 12, 2021
@claurel
Copy link
Contributor Author

claurel commented Feb 12, 2021 via email

@johnxnguyen johnxnguyen mentioned this pull request Feb 12, 2021
1 task
@johnxnguyen
Copy link
Owner

@claurel I'm happy to hear it. It's been a little while since there has been some updates here but I have do some plans for Down. Feel free to reach out again in the future!

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

Successfully merging this pull request may close these issues.

3 participants