首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Swift Firebase:"_GSDK_NSClassFromString",引用于:

Swift Firebase:"_GSDK_NSClassFromString",引用于:
EN

Stack Overflow用户
提问于 2016-09-26 16:53:19
回答 2查看 674关注 0票数 1

我第一次尝试我们的防火墙。我选择手动安装SDK,因为Pod安装需要花费很长时间。

我一步一步地遵循方向,当我试图运行该项目时,我得到了以下错误:

代码语言:javascript
复制
Undefined symbols for architecture x86_64:
  "_GSDK_NSClassFromString", referenced from:
      -[GSDK_GTMSessionFetcher initWithRequest:configuration:] in GoogleNetworkingUtilities(GTMSessionFetcher.o)
      ___45+[GSDK_GTMSessionFetcher fetcherUserDefaults]_block_invoke in GoogleNetworkingUtilities(GTMSessionFetcher.o)
      -[GSDK_GTMMIMEDocument generateInputStream:length:boundary:] in GoogleNetworkingUtilities(GTMMIMEDocument.o)
      -[GSDK_GTMSessionFetcher(GTMSessionFetcherLogging) loggedInputStreamForInputStream:] in GoogleNetworkingUtilities(GTMSessionFetcherLogging.o)
      -[GSDK_GTMSessionFetcher(GTMSessionFetcherLogging) loggedStreamProviderForStreamProvider:] in GoogleNetworkingUtilities(GTMSessionFetcherLogging.o)
  "_OBJC_CLASS_$_FIRApp", referenced from:
      objc-class-ref in FirebaseAuth(FIRAuth_70be5a6d79de0ee5c6b8ffda807589e3.o)
  "_OBJC_CLASS_$_FIRAppAssociationRegistration", referenced from:
      objc-class-ref in FirebaseAuth(FIRAuth_70be5a6d79de0ee5c6b8ffda807589e3.o)
  "_kFIRAppDeleteNotification", referenced from:
      ___15+[FIRAuth load]_block_invoke in FirebaseAuth(FIRAuth_70be5a6d79de0ee5c6b8ffda807589e3.o)
  "_kFIRAppNameKey", referenced from:
      ___15+[FIRAuth load]_block_invoke_2 in FirebaseAuth(FIRAuth_70be5a6d79de0ee5c6b8ffda807589e3.o)
      ___15+[FIRAuth load]_block_invoke_4 in FirebaseAuth(FIRAuth_70be5a6d79de0ee5c6b8ffda807589e3.o)
  "_kFIRAppReadyToConfigureSDKNotification", referenced from:
      ___15+[FIRAuth load]_block_invoke in FirebaseAuth(FIRAuth_70be5a6d79de0ee5c6b8ffda807589e3.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

有人知道为什么吗?

EN

回答 2

Stack Overflow用户

发布于 2016-09-26 17:19:37

我不能肯定它不是像带宽这样的其他东西,但是尝试下面的内容,看看它在新的设置/安装上是否运行得更快:

代码语言:javascript
复制
pod repo remove master
pod setup
pod install
票数 0
EN

Stack Overflow用户

发布于 2016-09-26 19:16:23

请检查“其他链接器设置”中的-ObjC链接器标志,以强制加载类别。没有这一点,有时只有类别的文件无法正确链接。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/39708307

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档