I am getting this error while trying to install react-native-charts-wrapper. I have followed the steps exactly as they say but still not able to build the project successfully.
I also set the SWIFT_VERSION to 4.2 in build settings of my project, still getting the same error.
My XCODE version: Version 10.1 (10B61)
Any ideas?



I found it. I am not familiar with XCode so it was not very straightforward for me. I clicked "Pods" on the project tree on the left, then clicked the dropdown to select SwiftyJSON from the list at the top left corner. Then changed the Swift version which was set to 5.0. See the image.
Cheers