Open VergilUa opened 5 years ago
Fix -> update versions to 5.8 in the dependencies.xml (Located at Assets -> Facebook SDK -> Plugins -> Editor):
` <?xml version="1.0" encoding="utf-8"?>
`
Thanks to VergilUa. His solution safe me a lot of time
Fix -> update versions to 5.8 in the dependencies.xml (Located at Assets -> Facebook SDK -> Plugins -> Editor):
You, sir, are a hero. Thank you.
This fix does not work here, in a completely blank project with 7.18.0
In XCode there is still an error:
Library not found for -lFBSDKCoreKit
Facebook SDK actually has been failing on iOS and XCode since 7.17.0
7.18.0 Library not found for -lFBSDKCoreKit
7.17.0 - 7.17.2 Library not found for -IBolts
Who at Facebook tests their work? Anyone???
(Dependency editing did not solve it either — this should not be necessary with proper software engineering practices)
I do have the build working with following versions:
Facebook SDK for Unity 7.18.0
Unity: 2019.4.15f1
XCode: 11.3
But my problem was in the Unity Cloud Build. Where I did get the very same error. My fix was to change (lock) the version of the iOS pod to 5.8.0
In Assets/FacebookSDK/Plugins/Editor/Dependencies.xml
lock the FBSDK version to 5.8.0
.
<?xml version="1.0" encoding="utf-8"?>
<dependencies>
<iosPods>
<iosPod name="FBSDKCoreKit" version="5.8.0" />
<iosPod name="FBSDKLoginKit" version="5.8.0" />
<iosPod name="FBSDKShareKit" version="5.8.0" />
</iosPods>
</dependencies>
Is there an intention to fix the problem? Although it seems like a problem of Unity Cloud Build platform itself.
Thank you! Switching to 5.8.0 fixed it.
I had the same problem with 7.19.2 and putting it to 5.8.0 didn't work for me because of FBSDKGamingServicesKit
.
I tried removing it and now I am building. Any tips would be greatly appreciated!
EDIT: Same happened with 7.17.2. Trying more versions...
@Nesh108 Did you find solution? I am facing FBSDKGamingServicesKit.h not found issue. The framework doesn't even exists in the FacebookSDK. Using 7.21
My only "solution" was to stick to version 7.13.0 and that's it :(
Checklist
Environment
Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:
2019.2.x latest (Cloud -> 2019.2.12f1)
7.18.0, 7.17.2
[iOS]
version9.0+
Goals
What do you want to achieve? Build to the IOS platform
Expected Results
What do you expect to happen? Successful cloud build
Actual Results
What actually happened? Can you provide a stack trace?
Cloud build fails with the following errors:
Steps to Reproduce
What are the steps necessary to reproduce this issue?