Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:
11.5Manual, facebook-unity-sdk-8.0.0.zip, Facebook iOS SDK 8.0.0, FBAudienceNetwork-6.0.0.zipWhat do you want to achieve?
For mobile cross-platform Unity game I want to update Facebook SDK and make it successfully build on our buildbot.
What do you expect to happen?
After updating to the latest version of the Facebook SDK I expect builds to succeed.
What actually happened? Can you provide a stack trace?
Buildbot reports a linking failure on the step “Xcode archive” with the following messages:
duplicate symbol '_OBJC_IVAR_$_FBSDKVideoUploader._parameters' in:
/Users/buildserver/.../FBSDKShareKit.framework/FBSDKShareKit(FBSDKVideoUploader.o)
/Users/buildserver/.../FBSDKGamingServicesKit.framework/FBSDKGamingServicesKit(FBSDKVideoUploader.o)
...
duplicate symbol '_OBJC_IVAR_$_FBSDKVideoUploader._uploadSessionID' in:
/Users/buildserver/.../FBSDKShareKit.framework/FBSDKShareKit(FBSDKVideoUploader.o)
/Users/buildserver/.../FBSDKGamingServicesKit.framework/FBSDKGamingServicesKit(FBSDKVideoUploader.o)
ld: 12 duplicate symbols for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** ARCHIVE FAILED **
What are the steps necessary to reproduce this issue?
I don't know how to reproduce it in a clean Xcode project. But in case of Unity it's probably sufficient just to drop these folders from Facebook SDK v8.0.0 to the project:
Please provide a code sample, as well as any additional details, to help us track down the issue.
It's probably related to this pull request: Moving video uploader into GamingServicesKit #1494
FBSDKVideoUploader was moved from FBSDKShareKit to FBSDKGamingServicesKit, but the older version of FBSDKShareKit was released, or something like that.
We have the same issue with Unity2019 and xCode 12.0.0
Are there any estimates on when the fixed release will be available?
@jingping2015 @joesus @kalendae @robtimp
Same issue with Unity 2018.4.23f1 and Xcode 12. I had to strip symbols from FBSDKShareKit
This should be fixed in next release - commit - 0cd91819be1a2c93aa04dc569a5623caf4636975
Most helpful comment
Same issue with Unity 2018.4.23f1 and Xcode 12. I had to strip symbols from FBSDKShareKit