Comments (3)
This appears to be due to migrating from v14 of the official Facebook SDK to this package, resulting in an FBSDKCoreKit-Swift.h
that was cached from the previous version. Running a clean build in Xcode resolved the issue.
However, this resulted in a new error:
ā /Users/dsb/Library/Developer/Xcode/DerivedData/shortboxed-euoiztpisgpuzndyuevmudfutzne/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-Swift.h:2519:146: cannot find protocol declaration for 'SFSafariViewControllerDelegate'
@interface _BridgeAPI : NSObject <FBSDKBridgeAPIRequestOpening, FBSDKApplicationObserving, FBSDKURLOpener, FBSDKContainerViewControllerDelegate, SFSafariViewControllerDelegate>
The problem was the order of the #import
statements. SafariServices.h
must be imported before FBSDKCoreKit-Swift.h
. It was being placed after due to my ClangFormat configuration, which declared SortIncludes: true
.
Hopefully this helps someone else. š
from react-native-fbsdk-next.
@mikehardy You beat me to closing the issue. Thanks for your prompt response!
from react-native-fbsdk-next.
with apologies, others are building fine (as are my projects) so this will not result in a change in this repository and so is not an issue, it's a project-specific problem
you and others may feel free to continue discussion here (and propose a PR to the docs if anything interesting is learned) but I don't have any time personally to troubleshoot project-specific problem
I suggest you build an example from scratch (starting with npx react-native init BuildTest
or similar and proving it can work, then figuring out why your project is not working
from react-native-fbsdk-next.
Related Issues (20)
- The old application is able to use deprecated fields HOT 1
- Duplicate declaration of method 'application:openURL:options:'
- swift version mismatch xCode 14.3.1 HOT 2
- mismatch in swift version for expo SDK 49 HOT 1
- react-native Android App crashes on start: The sdk has not been initialized. facebooksdk.sdkinitialize() HOT 3
- yarn example:devcopy fails HOT 2
- ITMS-90863: Apple silicon Macs support issue - The app links with libraries that are not present on ŠŠ°Ń HOT 4
- FB login is not working HOT 2
- Attempt to invoke virtual method 'void com.facebook.AccessTokenTracker.stopTracking()' on a null object reference HOT 5
- Limited login doesn't return authentication token HOT 2
- FB SDK version Needs upgrade (upstream issue it seems, does not seem to affect functionality) HOT 14
- Is this the correct library for Facebook campaign to promote the app? HOT 4
- How to change add appdelegate.mm HOT 1
- Wrong expiration time for access token recieved , HOT 2
- com.google.android.gms.permission.AD_ID Error on Play Store HOT 3
- Need FBSDK update for events manager HOT 7
- FaceboookContentProvider is not added to AndroidManifest using the expo plugin HOT 1
- React Native Facebook Login Error: 'There is an error in logging you into this application' HOT 5
- Expo 50: App Crash with message 'App Add a string value with your app ID for the key FacebookAppID to the Info.plist' HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-fbsdk-next.