Build with Facbeook iOS SDK v12 fails with 'FBSDKCoreKit/FBSDKSettings.h' file not found
See original GitHub issueBug Report
Before opening
- Did you try the latest release?
- Did you look for existing issues?
Ad Modules
Platforms
iOS
Versions
- Android:
- iOS: 15
- react-native-fbads: 7.0.5
- react-native:0.65.1
Current Behaviour
Until this morning our release builds ran smoothly but re-running the same build that worked this morning fails with the following error:
/Users/user/actions-runner/_work/user-mobile/user-mobile/node_modules/react-native-fbads/ios/ReactNativeAdsFacebook/EXAdSettingsManager.m:10:9: 'FBSDKCoreKit/FBSDKSettings.h' file not found
#import <FBSDKCoreKit/FBSDKSettings.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expected Behaviour The build to run smooth again.
Steps to Reproduce It happens on two different build servers independent of a branch to build.
Thanks so much for any idea what this could cause it all of a sudden.
Issue Analytics
- State:
- Created 2 years ago
- Comments:18
Top Results From Across the Web
FBSDKCoreKit/FBSDKCoreKit.h not found error - Stack Overflow
1.Make sure that the Facebook SDK frameworks are installed in ~/Documents/FacebookSDK. 2)Make sure that FBSDK[Core, Login, Share]Kit ...
Read more >'FBSDKCoreKit/FBSDKCoreKit.h' file not found - Unity Forum
I'm building in unity on windows, then transferring the build to a mac to build to iPhone. It was all working fine until...
Read more >[Solved]-'FBSDKCoreKit/FBSDKSettings.h' file not found
Coding example for the question 'FBSDKCoreKit/FBSDKSettings.h' file not found. ... error and tried every solution I found in their corresponding github repo ...
Read more >Changelog - GitHub
[2022-10-24](https://github.com/facebook/facebook-ios-sdk/releases/tag/v15.1.0 ... Rule match for fb_content - Fixed: 'FBSDKCoreKitImport.h' file not found.
Read more >Facebook SDK for iOS - Meta for Developers
Integrate your iOS app with Facebook to build engaging social apps by using the Facebook SDK for iOS.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I solved this problem.
try install ‘react-native-fbsdk’
And if you see an error message “The SDK version in the ad request is no longer supported for new apps. Please upgrade to the latest version of the SDK”, edit sdk version in react-native-fbads/android/app/build.gradle
I made a PR for this. you can see at sdk version error fixed
I am reopening this since the issue resurfaces when upgrading to Facebook iOS SDK v12. My current environment is:
My Podfile contains the following line:
Anyone that got v12 to work with
react-native-fbads
?