Nimble: Xcode 13 Beta 1 Archive Error

Created on 8 Jun 2021  路  2Comments  路  Source: Quick/Nimble

  • [x] I have read CONTRIBUTING and have done my best to follow them.

What did you do?

Carthage bootstrap or Archive the Nimble-macOS scheme for Apple Silicon, Intel

What did you expect to happen?

Carthage and Archiving to complete successfully

What actually happened instead?

Build Failure

uplicate symbol '_NDR_record' in:
    /Users/adamtharani/Library/Developer/Xcode/DerivedData/Nimble-axqdeefwusmvxqglfhxhyotpbetj/Build/Intermediates.noindex/ArchiveIntermediates/Nimble-macOS/IntermediateBuildFilesPath/Nimble.build/Release/Nimble-macOS.build/Objects-normal/x86_64/CwlDarwinDefinitions.o
    /Users/adamtharani/Library/Developer/Xcode/DerivedData/Nimble-axqdeefwusmvxqglfhxhyotpbetj/Build/Intermediates.noindex/ArchiveIntermediates/Nimble-macOS/IntermediateBuildFilesPath/Nimble.build/Release/Nimble-macOS.build/Objects-normal/x86_64/CwlCatchBadInstruction.o
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Environment

List the software versions you're using:

  • Quick: ?.?.?
  • Nimble: Main Branch
  • Xcode Version: Version 13.0 beta (13A5154h)
  • Swift Version: Xcode Default

Please also mention which package manager you used and its version. Delete the
other package managers in this list:

  • Carthage: 0.38.0
  • Swift Package Manager ?.?.? (swiftpm-???) (Use swift build --version in Terminal)

Project that demonstrates the issue

Please link to a project we can download that reproduces the issue. Feel free
to delete this section if it's not relevant to the issue (eg - feature request).

The project should be short, self-contained, and correct example.

bug

Most helpful comment

@ikesyo Thank you for your quick fix!
I tried #915, and then carthage bootstrap was successful :tada:

All 2 comments

Thanks for reporting this! I submitted a potential fix in #915. Could you try that branch?

@ikesyo Thank you for your quick fix!
I tried #915, and then carthage bootstrap was successful :tada:

Was this page helpful?
0 / 5 - 0 ratings