I am using the Facebook SDK version 13.x.x, but am trying to update to version 17.x.x due to Privacy Manifest and Xcode 15 issues.
Even if I just upgrade the version up to 16.x.x, the build works fine, but if you update to 17.x.x, the following error occurs.
Does anyone know how to solve this problem? Even if I try any of the solution in internet, it doesn’t work.
Build it including SNSLib.a (self-produced) in MainApp. And using SPM, Xcode 15.4, Sonoma 14.5
duplicate symbol ‘_$sSo8NSBundleC12FacebookCoreE6moduleABvpZ’ in:
/Users/Library/Developer/Xcode/DerivedData/MainApp-geksbcsdysasaacvsluqjonltkvw/Build/Products/Debug-iphoneos/FacebookCore.o
r
/Users/Library/Developer/Xcode/DerivedData/MainApp-geksbcsdysasaacvsluqjonltkvw/Build/Products/Debug-iphoneos/SNSLib.a12
/Users/Library/Developer/Xcode/DerivedData/DragonFlight_qa-geksbcsdysasaacvsluqjonltkvw/Build/Products/Debug-iphoneos/SNSLib.a9
Build Successfully with Facebook SDK 17.x.x version
HyoBeom Park is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.