cocoapods could not find compatible versions for pod “app_settings”:
An error occurs when CocoaPods cannot find compatible versions for a specified pod (in this case, “app_settings”). This typically happens when the CocoaPods repository does not contain any version of the pod that meets the dependencies specified in the Podfile.
Example:
Let’s say your Podfile includes the following line:
pod 'app_settings', '1.2.0'
This means that your project requires version 1.2.0 of the “app_settings” pod.
Now, if the CocoaPods repository does not have a version 1.2.0 of the “app_settings” pod or if there is a conflict with other pod dependencies, you will encounter the error: “Could not find compatible versions for pod ‘app_settings’.”
To fix this issue, you have a few options:
- Specify a different version that is available in the CocoaPods repository:
- Update the pod version to match the available ones:
- Contact the pod’s maintainer:
pod 'app_settings', '1.1.0'
This means you can use version 1.1.0 of the “app_settings” pod instead of 1.2.0. Make sure this version meets your project’s requirements.
If you are flexible, you can look up the available versions of the “app_settings” pod in the CocoaPods repository and update your Podfile accordingly. For example:
pod 'app_settings', '~> 1.2.3'
This will allow CocoaPods to install the latest available version of the “app_settings” pod as long as it’s within the specified version range (in this case, any version greater than or equal to 1.2.3).
If none of the available versions of the “app_settings” pod meet your requirements, you can reach out to the pod’s maintainer and ask for support or updates.
Read more
- You may need to restart any open editors for them to read new settings.
- Cannot read properties of undefined (reading ‘tolocalestring’)
- Typeerror: cannot read properties of null (reading ‘useref’)
- Caused by: org.apache.logging.log4j.loggingexception: log4j-slf4j-impl cannot be present with log4j-to-slf4j
- Clientbuilder.sslsocketfactory(sslsocketfactory) not supported on jdk 9+