I am trying to install new pods in my project, but everytime i run 'pod install' this error pops up.
Unable to activate xcodeproj-0.14.1, because activesupport-4.0.0.rc1 conflicts with activesupport (~> 3.0)
I already search but i can't find any solution to this problem, can someone help me please.
Related
I installed cocoapods for an iOS project, but when I wrote this command pod setup --verbose nothing happened, so I tried some other code but it got worse, and now when I setup cocoapods I get this error:
/Library/Ruby/Site/2.3.0/rubygems.rb:275:in `find_spec_for_exe': can't find gem cocoapods (>= 0.a) with executable pod (Gem::GemNotFoundException)
from /Library/Ruby/Site/2.3.0/rubygems.rb:252:in `bin_path'
from /usr/local/bin/pod:22:in `<main>'
I don't know what happened, but the usual procedure of installing Cocoapods and setting it up is as follows:
Installing Cocoapods
Open Terminal
Type sudo gem install cocoapods
Type your password and wait for it to finish
Initializing Xcode project for Cocoapods
In terminal, switch to your project's directory using the cd command
Type pod init. This will add a Podfile to your project, which you can open and add the pods you want.
Type pod install. This will also generate a .xcworkspace file along with your .xcodeproj file, and you should always use the former from now on.
With your situation where it seems like pod was either not installed or not installed properly, I suggest you try sudo gem uninstall cocoapods first to remove everything that might be present, then follow the steps above. Also, if that fails, please check that you have the lastest version of Ruby installed.
I am using an iOS framework called fi.notes. Currently i am using the version 2.1.0. I tried to update to 2.3.1. But i keep getting the error in terminal, when i run pod install
[!] Unable to satisfy the following requirements:
- FinotesCore (= 2.3.1) required by Podfile
None of your spec sources contain a spec satisfying the dependency: FinotesCore (= 2.3.1).
I am following their developer documentation, which can be found here
https://finotes.github.io/2018/02/02/objc-docs
Thank you in advance.
Looks like you missed adding --repo-update in pod install
pod install --repo-update
Please make sure the version in Podfile is the latest one, and re-run the pod install command.
Good luck building better apps with fi.notes. :)
I was going through the steps mentioned at iOS Quickstart . I am getting following error during pod install
[!] Unable to find a specification for GoogleAPIClient/Calendar (~> 1.0.2)
Please help.
I had to run
pod repo update
Also I updated Cocoapods, not sure if this helped
sudo gem install cocoapods
I ran into something similar and resolved it with:
pod cache clean --all
pod deintegrate
pod repo update
I have been trying to run someone's project but can't do pod install.
pod install
Analyzing dependencies
Pre-downloading: `KNMultiItemSelector` from `https://github.com/kentnguyen/KNMultiItemSelector.git`
Downloading dependencies
Installing AFNetworking (2.5.1)
Installing Amplitude-iOS (2.2.4)
Installing Analytics (1.11.2)
Installing AppsFlyer-SDK (2.5.3.10)
Installing Bugsnag (4.0.3)
[!] Error installing Bugsnag
[!] /usr/bin/git submodule update --init
Submodule 'KSCrashModule' (git#github.com:bugsnag/KSCrash.git) registered for path 'KSCrashModule'
Cloning into 'KSCrashModule'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Clone of 'git#github.com:bugsnag/KSCrash.git' into submodule path 'KSCrashModule' failed
I tried a bunch of different suggestions on Stack Overflow etc. and still running into this. Anyone have some other ideas?
I have same problem. I follow
Checking for existing SSH keys(https://help.github.com/articles/checking-for-existing-ssh-keys/)
Adding your SSH key to the ssh-agent(https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/#adding-your-ssh-key-to-the-ssh-agent)
and then enter Correct SSH keys password.
"pod install" again, It's work.
I ended up removing the "Bugsnatcher" podfile and reinstalling it. I had another error with a different podfile afterwards, but also reinstalled that one. Project built after that.
I got an error after installing this pod.
I successfully got that original app to work after bringing it to my desktop and installing pods.
The problem is that after trying it with the real app I want to merge it with, after running pod install and opening the .xcodeworkspace project; I get 1 warning saying the file is already open or something like that.
My question: Should one run pod install in the same place where my original .xcodeproj is located or somewhere else? How do I install this pod to my own application without an error? When I open workspace I see the title of my app and under it 4 pods with a question mark and one compiler warning.
WTL2:~ Apple$ cd desktop
WTL2:desktop Apple$ cd myapp
WTL2:myapp Apple$ touch podfile
WTL2:myapp Apple$ open -a TextEdit Podfile
WTL2:myapp Apple$ pod install
Analyzing dependencies
CocoaPods 0.36.0.beta.2 is available.
To update use: `gem install cocoapods --pre`
[!] This is a test version we'd love you to try.
For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.
Downloading dependencies
Installing FXBlurView (1.6.3)
Installing HexColors (2.2.1)
Installing MessageBanner (1.0.3)
Generating Pods project
Integrating client project
[!] From now on use `myapp.xcworkspace`.
WTL2:faunna Apple$
The specific Xcode warning is:
couldn't load myapp because it is already open from another project or workspace