I am trying to build a react native app on Xcode 11. The following log shows that it fails due to certain duplicate errors:
/Users/a1/Library/Developer/Xcode/DerivedData/koi-engxedasgshtkvbulcypaztjtsbp/Build/Intermediates.noindex/Koi.build/Debug-iphonesimulator/koi.build/Objects-normal/x86_64/AIRGoogleMapURLTileManager.o/Users/a1/Library/Developer/Xcode/DerivedData/koi-engxedasgshtkvbulcypaztjtsbp/Build/Products/Debug-iphonesimulator/react-native-google-maps/libreact-native-google-maps.a(AIRGoogleMapURLTileManager.o)ld: 155 duplicate symbols for architecture x86_64
The errors follow the same above pattern in the log file and I can see that the issues seem to stem from the contents of the DerivedData folder. According to some resources I found on this question, I deleted this folder. Furthermore, I tried to see if there are any duplicate files from the GoogleMaps modules but I cannot find anything wrong. I'm not sure what else to do as nothing seems to be working.
Any suggestions?