facebook / facebook-sdk-for-unity

The facebook sdk for unity.
https://developers.facebook.com/docs/unity
Other
489 stars 256 forks source link

updating to 7.11 missing bitcode #143

Open toom1984 opened 6 years ago

toom1984 commented 6 years ago

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.

duck4i commented 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....

ChuckWalters commented 6 years ago

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

duck4i commented 6 years ago

Oh my god.. Yeah... Just tried myself... Dammit we can't release without Bitcode.. WTH FB? :'(

duck4i commented 6 years ago

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

duck4i commented 6 years ago

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

hydro0 commented 6 years ago

That's true. We're doing the same as @mihailogazda - replace all frameworks by iOS SDK 4.29 files. That's the only way :(

jeffvella commented 6 years ago

Same issue here, very frustrated.

misterHallodri commented 6 years ago

Still no official fix?!

marcinlazo commented 6 years ago

@mihailogazda I can confirm that this fix works. Thanks.

trondtactile commented 4 years ago

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...