Search code examples
ioslinker-errorsgoogle-signinundefined-symbol

Exceptions while using GoogleSignIn


I'v added G+ button and tried to run app but receive that enter image description here

And i can't find any solution in google


Solution

  • Look at the missing symbols in the error message.

    Now look them up in the documentation in Xcode. Example, SCNNetworkReachbilityCreateWithName.

    Now look at the resulting documentation to determine which framework it belongs to. In this case it is the SystemConfiguration framework.

    Now add the SystemConfiguration framework to your project and those link errors will go away.

    And most likely the documentation for the Google Sign-in library you are using lists the frameworks you need to add to your project. It should mention the SystemConfiguration framework.