2016-11-02 9 views
1

Wenn Sie bauen das Projekt mitGPGs undefinierte Symbole für Architektur: auf Xcode 8.0/Sierra 10.12

pod 'Google/SignIn' 

pod 'GooglePlayGames' 

Es wird Fehler.

Undefined symbols for architecture armv7: "_GTMMethodCheckMethodChecker", referenced from: +[NSDictionary(GTMNSDictionaryURLArgumentsAdditions) xxGTMMethodCheckMethodNSString32] in GTMNSDictionary+URLArguments.o +[NSDictionary(GTMNSDictionaryURLArgumentsAdditions) xxGTMMethodCheckMethodNSString33] in GTMNSDictionary+URLArguments.o ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Error from Xcode 8

ich dieses Problem hochgeladen on the GTM's issue page und PlayGameService's issue page, Es scheint, GPG ist derzeit nicht gepflegt.

Perotinus, sagte der Entwickler von GTM

GooglePlusOpenSource pod that it depends on. My guess is that the GooglePlusOpenSource pod has a precompiled version of GTM that doesn't have its symbols renamed, and the linker gets confused when it sees that in the set of libraries that it should use when trying to link the GTM pod.

Gibt es eine mögliche Idee, es zu benutzen? Ich sehe Downgrade nicht als gute Option.

+0

Glück gehabt mit diesem? Ich stehe genau vor diesem Problem. – SlashG

Antwort

3

Ich habe den gleichen Fehler für die Installation von pod Firebase/Auth und ich installiere ältere Version von GoogleToolboxForMac über Firebase/Auth, die Pod 'GoogleToolboxForMac' ist, '2.0.0'.Nach dem Firebase mit kompatiblen Version von GoogleToolboxForMac zu starten install.Auf deinem Podfile entferne den Pod "Google/SignIn" und den Pod "GooglePlayGames". Fügen Sie den Pod einer älteren Version von GoogleToolboxForMac direkt über dem Pod "Google/SignIn" und dem Pod "GooglePlayGames" ein und installieren Sie ihn erneut.

pod 'GoogleToolboxForMac', '2.0.0'

pod 'Google/SignIn'

pod 'GooglePlayGames'

+0

Das hat es nicht für mich gelöst. Ich stehe genau vor dem gleichen Problem. – SlashG

+0

Großartig für mich gearbeitet. – TechBee

Verwandte Themen