-
Notifications
You must be signed in to change notification settings - Fork 144
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
Build with Facbeook iOS SDK v12 fails with 'FBSDKCoreKit/FBSDKSettings.h' file not found #308
Comments
Whoever runs into the same issue. This seems to be the solution. facebook/facebook-ios-sdk#1829 |
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 |
same here |
I'm also running into this- any workarounds found? Does downgrading to 11.2.1 work? |
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 |
same issue |
Did anyone find a solution ? |
Has anyone found a solution? |
have tried every possible soultion , still the same problem |
Did anyone find a solution? Facing the same problem. Below is my environment: |
Has anyone found a solution on this ? I got the same problem |
Hi there, is the problem still persist your side ? It has been 2 days still there's no solution into it . I have searched through everywhere I even tried using the Facebook iOS SDK but still didn't work. Downgrading to v11 downwards is not an option since there is a minimum version that FB sets and it fails during pod install. Hoping you could give me feedback , Thank you very much |
Still facing the same problem |
Facing this problem too.
How do I get my build to succeed? |
I am having the same problem. Getting this same error while running on iOS.
DId anybody able to solve this issue? What should I do to resolve this issue? |
Hi guys, diff --git a/node_modules/react-native-fbads/ReactNativeAdsFacebook.podspec b/node_modules/react-native-fbads/ReactNativeAdsFacebook.podspec
index 7ba2cee..56120ef 100644
--- a/node_modules/react-native-fbads/ReactNativeAdsFacebook.podspec
+++ b/node_modules/react-native-fbads/ReactNativeAdsFacebook.podspec
@@ -13,6 +13,9 @@ Pod::Spec.new do |s|
s.platform = :ios, '7.0'
s.dependency 'React'
s.dependency 'FBAudienceNetwork'
+ s.dependency 'FBSDKCoreKit'
+ s.dependency 'FBSDKCoreKit_Basics'
+ s.dependency 'FBSDKGamingServicesKit'
s.source_files = 'ios/**/*.{h,m}'
end
\ No newline at end of file
diff --git a/node_modules/react-native-fbads/ios/ReactNativeAdsFacebook/EXAdSettingsManager.m b/node_modules/react-native-fbads/ios/ReactNativeAdsFacebook/EXAdSettingsManager.m
index 56bb991..ee49228 100644
--- a/node_modules/react-native-fbads/ios/ReactNativeAdsFacebook/EXAdSettingsManager.m
+++ b/node_modules/react-native-fbads/ios/ReactNativeAdsFacebook/EXAdSettingsManager.m
@@ -126,7 +126,7 @@ - (void)setBridge:(RCTBridge *)bridge
RCT_EXPORT_METHOD(setAdvertiserIDCollectionEnabled:(BOOL)enabled)
{
- [FBSDKSettings setAdvertiserIDCollectionEnabled:enabled];
+// [FBSDKSettings setAdvertiserIDCollectionEnabled:enabled];
}
|
@beqramo do we have to use something like patch-package to add these changes? |
you can, and don't forget to change package.json too like this: "main": "src/index",
"typings": "src/index.d.ts", as it has problems on finding files. |
fixed issue: callstack#308
fixed issue: callstack#308
Not working for me I am using
|
"react-native-fbads": "^7.1.1", I am using these version & still getting error |
I'm still experiencing the same issue. Has anyone found a solution? "react-native-fbads": "^7.1.1", |
Bug Report
Before opening
Ad Modules
Platforms
iOS
Versions
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:
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.
The text was updated successfully, but these errors were encountered: