Xcode 14.0 Linker error "can't find atom for stabs BNSYM"

In my project, when I try to build, one of my many packages is crashing the linker:

can't find atom for stabs BNSYM at 000273FC in /Users/scott/Library/Developer/Xcode/DerivedData/MailMaven-ahgcnebtfdhjorasdlhlivramzrp/Build/Products/Debug/SCBaseTagKit.o

clang: error: unable to execute command: Segmentation fault: 11

The same project builds fine within Xcode 13.3, but in 14.0 (betas 1 & 2) it crashes.

I have tried cleaning many times & deleting the derived data with no change.

Does any one know what this means and what I might be able to do to fix it? Searching for any of this in many different ways has turned up nothing helpful at all.

Thanks in advance,

Scott

Post not yet marked as solved Up vote post of lksoft Down vote post of lksoft
958 views

Replies

The same project builds fine within Xcode 13.3, but in 14.0 (betas 1 & 2) it crashes.

Well that’s weird. Given that this is a regression in Xcode 14 beta, the best path forward is for you to file a bug about it.

Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Hello Quinn,

So it turns out this was a problem with a circular reference in a package that we are using. I think that the error message is not clear enough though.