Cocoapods could not find compatible versions for pod “app_settings”:

Error: cocoapods could not find compatible versions for pod “app_settings”:

This error occurs when there is a mismatch in the version requirements of the “app_settings” pod defined in your Podfile and the versions available in the Cocoapods repository.

Cocoapods tries to find a compatible version of the pod that satisfies all the dependencies and requirements specified in your Podfile. However, if there are conflicting requirements or no compatible versions available, you will encounter this error.

To resolve this issue, you can try the following steps:

  1. Make sure you have the latest version of Cocoapods installed. You can check by running pod --version command in Terminal.
  2. Update your Podfile to specify a less strict version requirement for the “app_settings” pod. For example, if your Podfile currently has pod 'app_settings', '~> 1.2.3', you can try changing it to pod 'app_settings', '>= 1.2.3'. This allows Cocoapods to consider a wider range of compatible versions.
  3. Run pod update command in Terminal to update your dependencies and fetch the latest available versions.
  4. If the above steps do not work, you can try removing or disabling the conflicting pod dependencies temporarily to see if the error goes away. This might help identify the specific pod or version causing the conflict.
  5. If none of the above solutions work, you can try searching for alternative pods that provide similar functionality or check if the maintainers of the “app_settings” pod have any updates or fixes available for compatibility.

Remember to run pod install or pod update command after making any changes to your Podfile to apply the changes and update your project’s dependencies.

Related Post

Leave a comment