Hello!
I originally mentioned this issue here and was advised to start a new thread and tag it with Linker, so I did.
The problem is that when using Xcode 15 to build my code, I'm getting this link error:
Currently this issue is preventing us to move to using Xcode 15. Xcode 14.3 can build our code correctly.
So far our investigation brought us to either disable LTO for our project (which is not good, as our codebase heavily relies on interprocedural optimizations offered by the LTO), or to add flags -Wl,-ld_classic -Wl,-mllvm,-opaque-pointers to our linker. We currently opted for the second option for mac builds, while iOS builds don't recognize -ld_classic flag.
However, since the classic LD64 is scheduled to be removed in a future update, we will need to find a more permanent solution.
The build issue affects both Mac and iOS builds.