I can't build with FACEBOOK SDK 17.0.1
1

Hello, I have a question because an error occurred during iOS build.

No error occurs when updating to version 16.x.x, but an error occurs when updating to 17.0.1.

The project structure and Build Step is as follows:

  1. Main Project includes the self-developed LibSocial.a (static library project).
  2. In LibSocial.a, Facebook Dynamic Framework SDK was downloaded from Git and added.
  3. An Undefined Symbol error occurs when building.

Undefined symbols for architecture arm64: "FBLinkable_NSBundle_InfoDictionaryProviding", referenced from: _FBLink_NSBundle_InfoDictionaryProviding in {MAIN_APP}.o "_FBLinkable_NSData_FileDataExtracting", referenced from: _FBLink_NSData_FileDataExtracting in {MAIN_APP}.o "_FBLinkable_NSFileManager_FileManaging", referenced from: _FBLink_NSFileManager_FileManaging in {MAIN_APP}.o "_FBLinkable_NSNotificationCenter_NotificationDelivering", referenced from: _FBLink_NSNotificationCenter_NotificationDelivering in {MAIN_APP}.o "_FBLinkable_NSNotificationCenter_NotificationPosting", referenced from: _FBLink_NSNotificationCenter_NotificationPosting in {MAIN_APP}.o "_FBLinkable_NSProcessInfo_MacCatalystDetermining", referenced from: _FBLink_NSProcessInfo_MacCatalystDetermining in {MAIN_APP}.o "_FBLinkable_NSProcessInfo_OperatingSystemVersionComparing", referenced from: _FBLink_NSProcessInfo_OperatingSystemVersionComparing in {MAIN_APP}.o "_FBLinkable_NSURLSessionTask_NetworkTask", referenced from: _FBLink_NSURLSessionTask_NetworkTask in {MAIN_APP}.o "_FBLinkable_NSURLSession_URLSessionProviding", referenced from: _FBLink_NSURLSession_URLSessionProviding in {MAIN_APP}.o "_FBLinkable_NSUserDefaults_DataPersisting", referenced from: _FBLink_NSUserDefaults_DataPersisting in {MAIN_APP}.o "_FBLinkable_UIPasteboard_FBSDKPasteboard", referenced from: _FBLink_UIPasteboard_FBSDKPasteboard in {MAIN_APP}.o "_OBJC_CLASS$FBSDKAccessToken", referenced from: in {STATIDC_LIBRARY}.a6 "_OBJC_CLASS$FBSDKApplicationDelegate", referenced from: in {MAIN_APP}.o "_OBJC_CLASS$FBSDKLoginManager", referenced from: in {STATIDC_LIBRARY}.a6 "_OBJC_CLASS$_FBSDKProfile", referenced from: in {STATIDC_LIBRARY}.a6

How can I solve this?

박효범
Asked about 2 months ago