繁体   English   中英

解析应用程序ParseFacebookUtils中的框架错误

[英]Framework Errors in Parse App ParseFacebookUtils

我将Parse Framework更新为应用程序中的最新版本,现在我的应用程序中出现了很多错误,主要是与Framework相关的:

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_FBSDKAccessToken", referenced from:
      objc-class-ref in ParseFacebookUtilsV4(PFFacebookUtils.o)
      objc-class-ref in ParseFacebookUtilsV4(PFFacebookAuthenticationProvider.o)
  "_OBJC_CLASS_$_FBSDKApplicationDelegate", referenced from:
      objc-class-ref in ParseFacebookUtilsV4(PFFacebookUtils.o)
  "_OBJC_CLASS_$_FBSDKLoginManager", referenced from:
      objc-class-ref in ParseFacebookUtilsV4(PFFacebookAuthenticationProvider.o)
  "_OBJC_CLASS_$_FBSDKSettings", referenced from:
      objc-class-ref in ParseFacebookUtilsV4(PFFacebookAuthenticationProvider.o)
  "std::string::find_first_of(char const*, unsigned long, unsigned long) const", referenced from:
      MacStringUtilsPFC_::IntegerValueAtIndex(std::string&, unsigned int) in ParseCrashReporting(string_utilities.o)
  "std::string::find_first_not_of(char const*, unsigned long, unsigned long) const", referenced from:
      MacStringUtilsPFC_::IntegerValueAtIndex(std::string&, unsigned int) in ParseCrashReporting(string_utilities.o)
  "std::string::substr(unsigned long, unsigned long) const", referenced from:
      MacStringUtilsPFC_::IntegerValueAtIndex(std::string&, unsigned int) in ParseCrashReporting(string_utilities.o)
  "std::string::_Rep::_M_destroy(std::allocator<char> const&)", referenced from:
      BreakpadPFC_::HandleUncaughtException(NSException*) in ParseCrashReporting(Breakpad.o)
      BreakpadPFC_::Initialize(NSDictionary*) in ParseCrashReporting(Breakpad.o)
      BreakpadPFC_::GenerateReport(NSDictionary*) in ParseCrashReporting(Breakpad.o)

我已经确认已添加框架,所以我不确定造成的错误是什么。

不知道您是否使用CocoaPods,但如果是这样,今天更新时我遇到了同样的问题。 从显示的内容中,“ Facebook-iOS-SDK”和“ ParseFacebookUtils”已从最新更新中删除。 无需深入了解错误,就好像发生了链接器错误。 在我的Podfile中,我只是添加了:

pod 'Facebook-iOS-SDK'
pod 'ParseFacebookUtils'

如果不使用CocoaPods,则可能有助于确保这两个库在您的源代码中,进行清理和重建。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM