upon upgrading to Xcode 15, my widget extension is causing this error:
Undefined symbols: Linker command failed with exit code 1 (use -v to see invocation)
When pressing the error, nothing happens. It doesn’t show me which symbols are undefined.
How should I fix this?
2
Answers
try adding -ld_classic to the linker options
from
https://developer.apple.com/forums/thread/731089
this worked in my case, It forces use of the old linker, the new linker is used by default in Xcode 15.
Addition info here..
https://developer.apple.com/forums/thread/715385
Updating Firebase from 10.2 to 10.16 resolved the issue for me. The previously used BoringSSL-GRPC dependency, which caused the error for me, is now also gone.