Error : Undefined symbol: _OBJC_CLASS_$_GKLocalPlayer

Engine : Unity 2020.1.10f1
Using Firebase and Facebook SDK Unity SDK 9.0.0
Build in iOS and Xcode 12.4

I have two error during build in Xcode after add Facebook SDK

‘FBSDKCoreKit/FBSDKCoreKit.h’ file not found

This error just happened at .xcodeproj
I don’t know why but It didn’t happened if I builded it at .xcworkspace
But even at .xcworkspace , I still faced the error 2

Undefined symbol: OBJC_CLASS$_GKLocalPlayer

I already tried this solution :

adding GameKit.framework to your xcode prject from
Targets → UnityFramework → General → Frameworks and Libraries
→ click + button and find GameKit.framework → rebuild.

But it didn’t work for me.
Also try to add
libFirebaseCppAuth.a in Compile Sources . But it still failed to build .

Please help me if you know how to solve it.

This should help Error when building Unity project to Xcode (arm64 function not 4-byte aligned) · Issue #504 · facebook/facebook-sdk-for-unity · GitHub