Post

Replies

Boosts

Views

Activity

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
2
0
314
Sep ’24
Duplicate Symbol Error when Linking in Xcode: '_CRLF' | XCode 15.0 Beta 8
My app was working fine on XCode 14.6 and I was able to install it on my iPad. For testing the app on my iPad on iOS 17 Beta, I updated both my iPad and XCode 14.6 to XCode 15 Beta 8. Now when I am trying to install it, I get this error: duplicate symbol '_CRLF' in: /Users/mac-0077/Desktop/HBook/eBook/Nov_2023/ebookapp copy/eBook/Third Party/PrinterLibrary/libPrinter_170b.a[arm64][4](ZPLPrinter.o) /Users/mac-0077/Desktop/HBook/eBook/Nov_2023/ebookapp copy/eBook/Third Party/PrinterLibrary/libPrinter_170b.a[arm64][3](CPCLPrinter.o) ld: 1 duplicate symbols clang: error: linker command failed with exit code 1 (use -v to see invocation) If I am installing the app using XCode 14.6 on the simulator(iOS 16), it's working. If I am installing the app using XCode 15.0 beta 8 on the iPad(iOS 17 Beta), it's not working giving the above error. I have tried many things but nothing worked. Any help or guidance provided would be greatly appreciated. Thank you in advance for taking the time to assist me!
8
3
7.5k
Aug ’23