我正在嘗試將Google登錄集成到我的iOS應用程序中。我遵循Google提到的說明。
我也添加了SafariService.framework。
不過我收到此錯誤:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_SFSafariViewController", referenced from:
objc-class-ref in GoogleSignIn(GIDSignIn.o)
如何解決這個問題?
任何想法?
感謝
你的部署目標是什麼? SFSafariViewController僅在iOS 9中可用。還要檢查鏈接器標誌-ObjC。 –
您需要小心使用'-ObjC',因爲它可能會導致比解決問題更多的問題。 – Droppy
這些是我的鏈接器標誌:'-Objc -fobjc-arc -all_load' – iBug