前提条件 ・Windows10 Pro 64Bit 1803 ・Visual Studio 2017 Community v15.8 ・Xamarin 4.11.0.776 (NuGet Xamarin.Forms 2.4.0.282) ・macOS Mojave 10.14 / Xcode10.1 / Xamarin.iOS 12.0.0.10 ・Xamarin.Google.SignIn 4.0.1.2 (NuGetパッケージ)
1.エラー内容
Visual Studio のエラー一覧には以下のように表示されていました。一見、 SQLiteと Google 関連の相性の問題の様に思えます。
Native linking failed. Please review the build log. Native linking failed. Please review the build log and the user flags provided to gcc: -ObjC -lz -lsqlite3 Native linking failed, undefined symbol: _GSDK_NSClassFromString. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
2.出力内容の確認
出力ウィンドウにもエラーが表示されていました。以下のエラーを確認すると GSDK Google Sign In と表示されていることからも、NuGet パッケージでエラーが出ているようです。
Undefined symbols for architecture arm64 symbol(s) not found for architecture arm64 linker command failed with exit code 1