簡體   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