When building your iOS project, you might see this error:
[INSTALL_PODS] [!] CocoaPods could not find compatible versions for pod "QonversionSandwich":
[INSTALL_PODS] In Podfile:
[INSTALL_PODS] react-native-qonversion (from ../../../node_modules/react-native-qonversion) was resolved to 8.0.1, which depends on
[INSTALL_PODS] QonversionSandwich (= 5.0.4)
[INSTALL_PODS] None of your spec sources contain a spec satisfying the dependency: QonversionSandwich (= 5.0.4).
Solution
1. Open the terminal and navigate to your iOS project folder.
2. Run: pod install --repo-update
If the issue persists:
Delete the Podfile.lock file:
rm Podfile.lock
Run the pod install command again:
pod install --repo-update
This should update dependencies and resolve the build failure.