Help Needed: Linker Warnings and Duplicate Symbols Issue in Xcode 16.0

On Xcode Version 15.3 (15E204a), the project builds successfully without any errors. However, on Xcode Version 16.0 (16A242), I encounter the errors mentioned below.

ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Additional Context: Faced same issue earlier and fixed: Add "-ld64" under Build Setting -> Other Linker Flags

Answered by ssmith_c in 803616022

did you look at the detailed build log to see what the duplicate symbol is, and where it is defined?

If you compare the detailed build log with the log from Xcode 15.3, this might guide you to a solution.

To access the detailed build log, click on the little hamburger icon on the right of the screenshot you posted.

If you think this is a regression in Xcode 16, submit a bug report using Feedback Assistant - bugs reported here aren't tracked, and there isn't enough information in your post for anyone to help you.

did you look at the detailed build log to see what the duplicate symbol is, and where it is defined?

If you compare the detailed build log with the log from Xcode 15.3, this might guide you to a solution.

To access the detailed build log, click on the little hamburger icon on the right of the screenshot you posted.

If you think this is a regression in Xcode 16, submit a bug report using Feedback Assistant - bugs reported here aren't tracked, and there isn't enough information in your post for anyone to help you.

did you look at the detailed build log to see what the duplicate symbol is, and where it is defined?

+1

For more detailed instructions on how to look at the build report, see Command [something] failed with a nonzero exit code.

Share and Enjoy

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

Help Needed: Linker Warnings and Duplicate Symbols Issue in Xcode 16.0
 
 
Q