2019.1.14f7.18.0No errors during build process
Fix issue
During build process in Xcode I am getting error : Module 'FBSDKCoreKit' not found
1) Create fresh project in unity
2) Install FB SDK package (7.18.0)
3) Build Unity Project
4) Try to build Xcode project on Xcode (tryed on version 11.2.1 and 10.3
5) Check errors
Do you use XCodeProject?
For us this was resolved by using XCodeWorkspace for iOS Resolver and updating our pipelines to also use XCodeWorkspace
(As well as adjusting the dependencies to force using 5.8.0 on iOS)
Hi @JabluszkoPL @MagicMiikka , there is an issue in FB iOS SDK, a temporary workaround here is to change Podfile to use FBiOSSDK v5.8.0. We will ship a fix for FB iOS SDK quickly.
@KylinChang I just did change to v5.8.0. and nothing has changed

target 'Unity-iPhone' do
pod 'FBSDKCoreKit', '5.8.0'
pod 'FBSDKLoginKit', '5.8.0'
pod 'FBSDKShareKit', '5.8.0'
end
@JabluszkoPL
now it is working :) I will close this after fix from Facebook Unity SDK Update
I had same issue with v5.2

I change the sdk version to v5.8, the error still exists.
XCode version:10.3
Unity version:2018.3.8f1
MacOS:10.14.6
Hi @vitalzhu got to Assets\FacebookSDK\Plugins\Editor\Dependencies.xml and change it to:

then build project :)
@JabluszkoPL I used "5.8.0" instead of "5.2" in Assets\FacebookSDK\Plugins\Editor\Dependencies.xml,it works. thank you.
The issue is already fixed, close the issue.
@KylinChang It might be fixed by update the pod Dependencies but I don't think this should be called fixed from the package repo side. I think you should update the package to change that Dependencies.xml pods version to be that version by default
The error is exactly as described here:
https://github.com/facebook/facebook-ios-sdk/issues/1102#issuecomment-572917561
The workaround of simply changing dependencies from 5.2 to 5.8 does not alleviate this problem. "Module 'FBSDKCoreKit' not found" when trying to archive to publish the app.
Most helpful comment
target 'Unity-iPhone' do
pod 'FBSDKCoreKit', '5.8.0'
pod 'FBSDKLoginKit', '5.8.0'
pod 'FBSDKShareKit', '5.8.0'
end
@JabluszkoPL