Pod install gives a error message - objective-c

I want to use QuickBlox Api, but during the installation 'pod' an error:
[!] Unable to satisfy the following requirements:
- Quickblox-WebRTC (~> 2.0.0) required by Podfile
Where is the error?

Okay, your pod file should look like this
source 'https://github.com/CocoaPods/Specs.git'
target 'YourProjectName' do
pod 'Quickblox-WebRTC', '~> 2.0.0'
end

Related

No such module PDFReader

so i try to install PDF Reader. https://cocoapods.org/pods/PDFReader in installation guide i follow the instruction
target 'thePDF' do
pod 'PDFReader', '~> 2.1'
end
after pod install
i try so many option like only pod 'PDFReader' or try different version but still doesn't work.
EDIT:
i try
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, ‘8.0’
use_frameworks!
target ‘thePDF’ do
pod 'PDFReader', :git => 'https://github.com/Alua-Kinzhebayeva/iOS- PDF-Reader.git'
end
and it works, but when build, it shows some errors

can't install alamofire 1.3 using cocoapods

Hello i have a issue trying use alamofire 1.3, i need this because my projects wasn't migrated to swift 2.0, so here is my pod file:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '7.0'
use_frameworks!
target 'AppName' do
pod 'Alamofire', '~> 1.3'
end
But always get this error:
Resolving dependencies of Podfile
[!] Unable to satisfy the following requirements:
- Alamofire (~> 1.3) required by Podfile
Any idea?
You cannot use Alamofire with CocoaPods with a deployment target of 7.0. It MUST be 8.0+. The reason for this is that Swift frameworks are not supported on iOS 7.

Core Plot getting the error "Too many arguments to function call"

Today i've started to get 2 errors in CPTAnimationPlotRangePeriod.m:
I have tried to clean the project but it doesn't do anything.
It started when i tried to install this: https://github.com/devxoul/JLToast. I have followed all the instruction:
gem install cocoapods --pre
Add this to my Podfile: pod 'JLToast'
Do pod install
This is how my Podfile looks like:
# Uncomment this line to define a global platform for your project
# platform :ios, '7.0'
target '[Project name]' do
pod 'CorePlot', :git => 'https://github.com/core-plot/core-plot.git', :branch => 'release-2.0'
pod 'JLToast'
end
The new version of Cocoapods enabled a new build option that broke Core Plot builds. It's fixed in the latest code. See issue 138 for details.
Point your pod file at the repository head rather than a release number.
Rather than editing your Podfile, you also have the option of fixing the CorePlot code within your project. The required code changes are here: https://github.com/IngmarStein/core-plot/commit/3413d8b7fa382921a918e7801a22e614a17b8bbf

Xcode 6 and Cocoapods using versions 0.34.4 & cocoapods-0.35.0.rc2

I have a problem with cocoapods using versions 0.34.4 & cocoapods-0.35.0.rc2
After I updated my laptop to OS X Yosemite I had to update gems and cocoapods and my old iOS project stop working
I'm getting the following errors:
using cocoapods-0.34.4:
ld: library not found for -lPods-Evernote-SDK-iOS
clang: error: linker command failed with exit code 1 (use -v to see invocation)
using cocoapods-0.35.0.rc2:
There is a circular dependency between ShareKit/NoARC and ShareKit/Core
Here is my podfile contents, Any Help ??
platform :ios, '6.0'
source 'https://github.com/CocoaPods/Specs.git'
pod 'CXAlertView'
pod 'ShareKit'
pod 'JSONKit'
pod 'FPPopover'
pod 'Base64'
pod 'CZDateFormatterCache'
pod 'JMImageCache'
pod 'Reachability'
pod 'MFSideMenu'
pod 'ASIHTTPRequest'
Remove your current 0.35.0 version you could just run:
sudo gem uninstall cocoapods
you must install a specific version of cocoa pods via the command:
sudo gem install cocoapods -v 0.34.4
than pod install
Solved by creating new project!
I used cocoapods-0.34.4 with the new project

Cocoapods Error at Compile time

Why am I getting this error when I try to compile my app after installing AFNetworking using Cocoapods?
/Users/adsfa/Documents/adfasf/Pods/Pods-resources.sh: line 5:
/Users/asdfa/Documents/sounasdfafdme/Pods/resources-to-copy-Krafdsakfen.txt: Permission denied
My Podfile:
pod 'AFNetworking', '~> 2.0'
however, when I try to do open Podfile, I receive this
/Users/me/Documents/soundme/Podfile ; exit;
/Users/me/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:298:in `to_specs': Could not find 'cocoapods' (>= 0) among 110 total gem(s) (Gem::LoadError)
from /Users/me/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:309:in `to_spec'
from /Users/me/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_gem.rb:53:in `gem'
from /Users/me/.rvm/rubies/ruby-1.9.3-p448/bin/pod:22:in `<main>'
logout
[Process completed]
Check the version of ruby and rails running in the machine and make sure cocoapod is installed in the same
To see all the installed gems in the current version
gem list