How to fix Linker error (Undefined symbols for architecture arm64: ) in Swift

preview_player
Показать описание
In this video you can see how to fix following issue:-

Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_GADRequest", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_GADInterstitial", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Just go tot Project & Target and search Other Linker flags and add this $(inherited)

and Run Project, this error got fixed instantly.
Рекомендации по теме
Комментарии
Автор

How do you fix these errors?


Undefined symbol:


Undefined symbol: _OBJC_CLASS_$_SKPayment


Undefined symbol: _OBJC_CLASS_$_SKPaymentQueue

sourkirsche
Автор

Hello Himani this is nice vedio..
I am facing this error please help
"ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
"

rameshchandrebari
Автор

would you please tell about this issues, how to clear this problem.Undefined symbol:
_OBJC_CLASS_$_FIRGoogleAuthProvider,
Undefined symbol: _OBJC_CLASS_$_FIRApp
Undefined symbol:
can you please clear that problem ?

esakkiammalsh