-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'FBSDKCoreKitImport.h' file not found #1829
Comments
Version 11.0.1 works well |
I can confirm this issue is also affecting all our Unity mobile productions. |
This is happening on my project too since the pods was updated. |
Yes. Hours time wasted and finally we updated the dependency to ~>11.1.0 to bypass it. |
Same issue here. Spoke with several others who also are experiencing exact same issue since updating to 11.2.0. |
Version 11.1.0 works |
Hi @charlie80124, @jsyrtsov, @jfperusse-bhvr , @jmeyblum , @mofish9, @kerimdeveci, @cvcoder1 - Sorry about the issues you are encountering. I have a few questions...
|
abstract_target 'target' do |
I have same problem with version 11.2.0 too |
Same issue here. |
Same problem here. Gotta downgrade to 11.1.0. |
Installing FBAEMKit 11.1.0 (was 11.2.0) fixes the issue @jawwad |
Good afternoon, the same error, but how to install version 11.1.0 instead of 11.2.0? |
|
I have the same issue as well with v11.2.0 using CocoaPods 1.11.0. |
Were you able to fix the problem? |
Adding this on your Podfile does the trick for now until someone fixes the issue for 11.2.0.
|
Same error! |
|
Same issue here. i use facebook-unity-sdk-11.0.0. And fixed this with downgrade to 11.1.0. |
@jawwad We are using the Unity Facebook SDK. Podfile looks like this:
|
I'm facing same trouble with facebook-unity-sdk-11.0.0
Does anyone resolved this issue? |
Just replace
to
|
@aimatme So, all unity engineer have to modify Podfile until official SDK become updated :( |
No, you could modify the Dependencies.xml file in Unity project and the generated Podfile will be updated automatically. |
@mofish9 |
Is there anyone on this thread that is experiencing this issue but is not using Unity? |
@jawwad I am experiencing this and not using Unity. |
@noahcooper - Could you share what imports you have for Facebook in your Podfile? |
@jawwad here is my full Podfile:
This fails with an error in If I downgrade the SDK back to 11.1.0, the build succeeds. |
@jawwad it looks like perhaps the issue here is that |
I am on the same situation as @noahcooper is on a native iOS project. cc @jawwad |
@jawwad I am experiencing this and not using Unity. |
Same issue here with version |
Hmm... it is included in the actual Xcode project, not sure why the CocoaPods version isn't seeing it. I'm going to try to look into this a bit more today. |
Thanks for providing this, it was very helpful! I think I have a workaround which I'll add in the next comment. |
For those that are having the issue, in In FBSDKShareKit/FBSDKShareKit/Internal/FBSDKMessengerIcon.h#import "TargetConditionals.h"
#if !TARGET_OS_TV
// #import "FBSDKCoreKitImport.h" < - DELETE THIS LINE
#import <FBSDKCoreKit/FBSDKCoreKit+Internal.h> // <- ADD THIS LINE
NS_SWIFT_NAME(MessengerIcon)
@interface FBSDKMessengerIcon : FBSDKIcon
@end
#endif Let me know if that fixes the issue. |
I tested making that change locally, and my build succeeded (of course this isn't a viable option in production, as my apps are built in the cloud and I can't manually manipulate the header file). |
It works for me, build succeed |
@jawwad After this workaround, build succeed but my app crashes as soon as app starts. Here is the log:
But when I exclude FB SDK, it works well! |
After downgrade to 11.1.0, a new error appeared: |
Yeah I understand. I spent some time trying to see if the file could be modified in a post_integrate hook but I wasn't able to figure it out. Let me think of what else we may be able to do here. Worst case we will be releasing v12 in early October which should solve the issue. |
Reviewed By: joesus Differential Revision: D31005085 fbshipit-source-id: 29d7fee3b8cef0fb7ac968d5af248403a3ff17dc
@noahcooper
And then the main bit below was:
I have googled a few solutions for this but nothing has worked. Do you have any suggestions? Can I provide any more useful information?
|
Just to get a rough estimate, when will the fix be pushed to cocoapods? Just saw the |
@moritz-wundke - I'm pushing the CocoaPods now but it takes a while due to the dependencies and caching so it might be an hour or two before all of the CocoaPods are pushed. |
Hi everyone - v11.2.1 was released yesterday with a potential fix for this. Can you update and see if it fixes the issue for you? |
The build error is gone. |
@moritz-wundke - Thanks for verifying that the issue is resolved with v11.2.1! |
Checklist before submitting a bug report
Xcode version
12.5
Swift version
No response
Installation platform & version
1.10.1
Package
Core
Goals
Build/Run Successfully
Expected results
Build/Run Successfully
Actual results
What do you expect to happen?
Steps to reproduce
(old version is 11.0.1)
after pod update (new version is 11.2)
and file not found
p.s I have try some way to resolve like:
still not working
Code samples & details
The text was updated successfully, but these errors were encountered: