Open toom1984 opened 6 years ago
Facebook 7.11 is all broken up and FB is not even replying to our issues, so just skip this version I guess....
Also happens on 7.11.1 '/BUILD_PATH/.../Frameworks/FacebookSDK/Plugins/iOS/FBSDKLoginKit.framework/FBSDKLoginKit(FBSDKLoginButton.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file '/BUILD_PATH/.../Frameworks/FacebookSDK/Plugins/iOS/FBSDKLoginKit.framework/FBSDKLoginKit' for architecture arm64
Oh my god.. Yeah... Just tried myself... Dammit we can't release without Bitcode.. WTH FB? :'(
Hey, for anyone struggling with this, if you download iOS SDK (not Unity one) and replace .frameworks from iOS into Unity they will compile fine. So at least we can ship with bitcode. @ChuckWalters
This is a repo with the fix, you can use .unitypackage from me, or fix it yourself. https://github.com/mihailogazda/FacebookSDK-Unity-7.11.1-BITCODE
That's true. We're doing the same as @mihailogazda - replace all frameworks by iOS SDK 4.29 files. That's the only way :(
Same issue here, very frustrated.
Still no official fix?!
@mihailogazda I can confirm that this fix works. Thanks.
2 years later, and i just ran into this problem. Is there really no way around copying these files? They are now even served through pods...
Frameworks/FacebookSDK/Plugins/iOS/FBSDKShareKit.framework/FBSDKShareKit(FBSDKLikeBoxView.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file 'FacebookSDK/Plugins/iOS/FBSDKShareKit.framework/FBSDKShareKit' for architecture arm64
I do not get this error with 7.9.4 which I have been using. Got message from facebook saying to update SDK that it included fixes for iOS 11.
Setting bitcode off just gives more errors.