Dropbox pod install Error - Higher Minimum Deployment Required? - xcode

Getting this message when attempting to install Dropbox- higher minimum deployment target required. I am on iOS 9.3. Any ideas?
$ pod install
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "Ensembles/Dropbox":
In Podfile:
Ensembles/Dropbox (~> 2.0)
Specs satisfying the Ensembles/Dropbox (~> 2.0) dependency were found, but they required a higher minimum deployment target.

It looks like the highest version of the Ensembles Pod available publicly is 1.8 and the Podfile is requesting 2.0 - https://cocoapods.org/pods/Ensembles.
If you have additional questions, please share the Podfile.

Related

Unable to find a specification for `SwiftJSON (= 3.1.4)`

Error while installing cocoa pods in my Xcode project
Unable to find a specification for SwiftJSON (= 3.1.4)
Framework you want to use is called SwiftyJSON, not SwiftJSON
pod 'SwiftyJSON', '3.1.4'
Also the newest version of SwiftyJSON is 4.2.0, so you should use this version and then there is no need to specify version
pod 'SwiftyJSON'

Pod outdated failes caused by Firebase/AdMob

I tried to find new pod-versions after the release of Swift 4.2. So I called
pod outdated
in the terminal. According to this this kind of error message occurs:
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "Firebase/AdMob":
In Podfile:
Firebase/AdMob
Specs satisfying the `Firebase/AdMob` dependency were found, but they required a higher minimum deployment target.
CocoaPods could not find compatible versions for pod "GoogleUtilities/MethodSwizzler":
In Podfile:
Firebase/AdMob was resolved to 5.8.0, which depends on
Firebase/Core (= 5.8.0) was resolved to 5.8.0, which depends on
FirebaseAnalytics (= 5.1.2) was resolved to 5.1.2, which depends on
GoogleUtilities/MethodSwizzler (~> 5.2.0)
Specs satisfying the `GoogleUtilities/MethodSwizzler (~> 5.2.0)` dependency were found, but they required a higher minimum deployment target.
The deployment target wasn't changed and is still at 9.0. These Firebase-Pods are listed in my Podfile:
pod 'Firebase/AdMob'
pod 'Firebase/Messaging'
pod 'Firebase/Core'
The current version of Firebase/AdMob is (5.8.0).I already removed all pods and installed them new. But didn't worked.
Has anyone a solution for this?
Do a pod update.
This was fixed today in Firebase 5.8.1. Details in this github issue.

Cocoapods cannot install pod

I ran pod install after I updated my Podfile, the LeanCloud pod was not installed, and I got the following message:
Analyzing dependencies
[!] There are only pre-release versions available satisfying the following requirements:
'LeanCloud', '>= 0'
You should explicitly specify the version in order to install a pre-release version
Here is how my Podfile looks like:
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'todolist' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for todolist
pod 'Alamofire'
pod 'SwiftyJSON'
pod 'LeanCloud', '>= 0'
end
I'm running on macOS 10.12.3, with Cocoapods Version 1.2.0
You have to specify which version of a dependency you’d like to use. Take a look here how versioning works:
== 1.0 means “Use exactly version 1.0”
>= 1.0 means “Use version 1.0 or higher”
~> 1.0 means “Use any version that’s compatible with 1.0″, essentially meaning any version up until the next major release. That is:
If you specify ~> 1.7.5, then any version from 1.7.5 up to, but not including 2.0, is considered compatible.
Likewise, if you specify ~> 2.0 then Cocoapods will use a version 2.0 or later, but less than 3.0.
Compatibility is based on Semantic Versioning
From here, you have to choose which LeanCloud version you want to use. Then change it accordingly in your pod file based on those steps above.
I am not very good in English
I think you did not specify a mobile version
platform :ios, '9.0' <-You should try to open this sentence
Somehow I got it to work by move the line pod LeanCloud to be the first pod, and ran pod update.
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'todolist' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for todolist
pod 'LeanCloud'
pod 'Alamofire'
pod 'SwiftyJSON'
end
⇒ pod update
Update all pods
Updating local specs repositories
CocoaPods 1.2.1.beta.1 is available.
To update use: sudo gem install cocoapods --pre
[!] This is a test version we'd love you to try.
For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.2.1.beta.1
Analyzing dependencies
Downloading dependencies
Installing Alamofire 4.2.0 (was 4.4.0)
Installing LeanCloud (10.0.0)
Using SwiftyJSON (3.1.4)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 3 dependencies from the Podfile and 3 total pods installed.

Unable to satisfy requirements when specifying version in podfile

I'm using the Cocoapods app. When trying to install the current Alamofire, I get the following error:
Analyzing dependencies
[!] Unable to satisfy the following requirements:
- `Alamofire (~> 4.4)` required by `Podfile`
None of your spec sources contain a spec satisfying the dependency: `Alamofire (~> 4.4)`.
You have either:
* out-of-date source repos which you can update with `pod repo update`.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default
This is my podfile:
project 'MyApp.xcodeproj'
# Uncomment the next line to define a global platform for your project
platform :ios, '10.0'
target 'MyApp' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for MyApp
pod 'Alamofire', '~> 4.4'
end
If I remove the version and just use pod 'Alamofire', it installs version 4.0.1. Why?
The issue is as per the last line of the log.
You need to run pod repo update
There appears to be an option in the app in the menu Specs Repos that has an update button for me. However this does not seem to work.
Running the command line then allowed mre to run Build->Install from the Cocoapods app
This might be happening due to the cocoa pod version required by the new almofire version is higher than what u have installed in your system. Please check version of ypu pod by pod --version in command line , if it is less than 1.0 update pod spec , you can find the steps here .https://guides.cocoapods.org/using/getting-started.html
Your new pod will be installed. Also the when u don not specify a version in your pod file than cocoa pods itself selects the latest version it supports and install it .Thats why your almofire was getting updated to 4.0.1.,Hope this helps you.

CorePlot 1.2 - pod install no response

I just added
pod 'CorePlot', '~> 1.2'
to my Podfile, now trying
$ pod install
Resolving dependencies of `./Podfile'
Updating spec repositories
Cocoapods 0.18.1 is available.
Resolving dependencies for target `default' (iOS 6.0)
Downloading dependencies
Installing CorePlot (1.2)
It's getting hanged there with no response.
What can I do ?
This source library is nearly 200 megabytes. It may depend on your internet connection but I imagine this would complete if you gave it enough time.
If you want to see what it is doing try
$ pod install --verbose

Resources