Facebook-sdk-for-unity: FB SDK 7.18.0 - Module 'FBSDKCoreKit' not found

Created on 15 Nov 2019  路  13Comments  路  Source: facebook/facebook-sdk-for-unity

Checklist

Environment

  • Unity Editor Version: 2019.1.14f
  • Facebook SDK Version: 7.18.0
  • Installation Platform: iOS

Goals

No errors during build process

Expected Results

Fix issue

Actual Results

During build process in Xcode I am getting error : Module 'FBSDKCoreKit' not found

Steps to Reproduce

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

bug

Most helpful comment

target 'Unity-iPhone' do
pod 'FBSDKCoreKit', '5.8.0'
pod 'FBSDKLoginKit', '5.8.0'
pod 'FBSDKShareKit', '5.8.0'
end

@JabluszkoPL

All 13 comments

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
Screenshot at Nov 18 08-39-14

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
{A35BA8FA-E4EA-4435-97EA-B9936E138239}_20191120105653

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:
2019-11-20 08_27_35-Window
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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

laijingfeng picture laijingfeng  路  6Comments

derwaldgeist picture derwaldgeist  路  4Comments

1901 picture 1901  路  6Comments

naklow12 picture naklow12  路  6Comments

alchemyincarnate picture alchemyincarnate  路  4Comments