【问题标题】:Framework Errors in Parse App ParseFacebookUtilsParse 应用程序 ParseFacebookUtils 中的框架错误
【发布时间】:2015-04-01 15:57:12
【问题描述】:

我在我的应用程序中将 Parse 框架更新为最新版本,现在我的应用程序中出现大量错误,主要与框架相关:

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)

我已经确认添加了Framework,所以不知道是什么原因造成的。

【问题讨论】:

  • 你解决了吗?我也遇到了这个问题。请帮我解决它谢谢

标签: ios parse-platform parse-framework parsefacebookutils


【解决方案1】:

不确定您是否使用 CocoaPods,但如果是,我今天在更新时遇到了同样的问题。从它的显示来看,“Facebook-iOS-SDK”和“ParseFacebookUtils”已从最新更新中删除。如果不深入您的错误,看起来好像正在发生链接器错误。在我的 Podfile 中,我只是添加了:

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

如果不使用 CocoaPods,确保这两个库在您的源代码中、清理并重建可能会有所帮助。

【讨论】:

猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2012-05-09
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多