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!
Using -ld64
is a short-term workaround. To quote the Xcode 15 RC Release Notes:
The classic linker can still be explicitly requested using -ld64, and will be removed in a future release.
You need to get to the root cause of this problem, per the advice in my previous response.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"