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

Link by cocopods with duplicate symbol error #55

Open
lgb1234a opened this issue Nov 21, 2019 · 0 comments
Open

Link by cocopods with duplicate symbol error #55

lgb1234a opened this issue Nov 21, 2019 · 0 comments

Comments

@lgb1234a
Copy link

  • Pod version : 1.8.4
  • Xcode 11.2
  • iPhone device 12.4.2
Podfile:
pod "CocoaMarkdown", :git => 'https://github.com/indragiek/CocoaMarkdown.git'

Link error:

duplicate symbol '_main' in:
    /Users/chenyn/Library/Developer/Xcode/DerivedData/CaJian-gdqwwrpegxglvygdepdetmfjtucl/Build/Intermediates.noindex/CaJian.build/Debug-iphoneos/CaJian.build/Objects-normal/arm64/main.o
    /Users/chenyn/Library/Developer/Xcode/DerivedData/CaJian-gdqwwrpegxglvygdepdetmfjtucl/Build/Products/Debug-iphoneos/cmark/libcmark.a(main.o)
ld: 1 duplicate symbol for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Is this an error related to my environment or resulted from any incorrect operation?

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