I have installed swift pods for the obj c project. I got this error when I was trying to build it.
I have gone through all the solutions like deleting derived
Still, after all of that, if you're still at lost, you can add a SWIFT_VERSION directly the project file:
80B11AAAAAAAAAAAAAAAC3E5D8 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = DF5...040;
buildSettings = {
...
PRODUCT_MODULE_NAME = react-native-some-module;
...
SWIFT_VERSION = "4.2";
};
name = Debug;
};
Repeat for both the Debug and Release targets. That had me hop over this issue.