After upgrading my react native fbsdk to react native fbsdk next, I encountered an error like this.
Could not find or use auto-linked library 'swiftCompatibility50'
.... and so on.
It has something to do with the swift files from a package you installed/linked. To solve this you have to create some sort of swift bridge by just creating an empty swift file in your xcode/workspace.
- open XCode
- create new file, select swift file
- confirm "Create Bridging Header"
- clean and build
Here are the guides that helped me.
- https://stackoverflow.com/questions/50096025/it-gives-errors-when-using-swift-static-library-with-objective-c-project/56187043#56187043
- https://github.com/facebookarchive/react-native-fbsdk/issues/755#issuecomment-653043458




