OBJC_CLASS_$_GSDK_GTMLogBasicFormatter“,引用自:iOS 目标 C 中的 objc-class-ref

OBJC_CLASS_$_GSDK_GTMLogBasicFormatter", referenced from: objc-class-ref in iOS objective C

提问人:Parveen Banu 提问时间:11/4/2022 更新时间:11/4/2022 访问量:204

问:

我删除了 StartApp sdk 并添加了 GoogleAd sdk,如下所示

Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_GSDK_GTMLogBasicFormatter", referenced from:
      objc-class-ref in FirebaseCrash(FCRSystemLogger_f6f509c6b037cc95a2a7c093bb001dda.o)
  "_OBJC_CLASS_$_GSDK_GTMLogNoFilter", referenced from:
      objc-class-ref in FirebaseCrash(FCRSystemLogger_f6f509c6b037cc95a2a7c093bb001dda.o)
  "_OBJC_CLASS_$_GSDK_GTMLogger", referenced from:
      objc-class-ref in FirebaseCrash(uploader_3642662f425997146581ee52249eee05.o)
      objc-class-ref in FirebaseCrash(FCRSystemLogger_f6f509c6b037cc95a2a7c093bb001dda.o)

使用 Xcode 14.1 和 iOS 15.7。

当我删除 StartApp sdk 并添加 GoogleAdSdk 时,现在面临这样的错误

Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_GSDK_GTMLogBasicFormatter", referenced from:
      objc-class-ref in FirebaseCrash(FCRSystemLogger_f6f509c6b037cc95a2a7c093bb001dda.o)
  "_OBJC_CLASS_$_GSDK_GTMLogNoFilter", referenced from:
      objc-class-ref in FirebaseCrash(FCRSystemLogger_f6f509c6b037cc95a2a7c093bb001dda.o)
  "_OBJC_CLASS_$_GSDK_GTMLogger", referenced from:
      objc-class-ref in FirebaseCrash(uploader_3642662f425997146581ee52249eee05.o)
      objc-class-ref in FirebaseCrash(FCRSystemLogger_f6f509c6b037cc95a2a7c093bb001dda.o)

使用 14.1 Xcode 和 iOS 15.7

IOS的 Objective-C iPhone Xcode iPad

评论

0赞 Roman Podymov 11/8/2022
你在使用CocoaPods吗?
1赞 Parveen Banu 1/27/2023
删除了不需要的 sdk 并安装您想要的 cocoapods,问题将消失。固定。汉克斯,伙计......!
1赞 Parveen Banu 4/18/2023
您是对的,删除了不需要的sdk,之后需要安装sdk,之后它会正常工作。感谢您的回复:)

答: 暂无答案