我想更新我的AFNetworking到版本pod 'AFNetworking','~> 4.0',但我得到以下错误。
[!] CocoaPods could not find compatible versions for pod "AFNetworking":
In Podfile:
AFNetworking (~> 4.0)
AFOAuth2Manager was resolved to 2.0.0, which depends on
AFNetworking (~> 2.2)
Cocoa
$ git clone https://github.com/AFNetworking/AFNetworking.git
Cloning into 'AFNetworking'...
fatal: unable to access 'https://github.com/AFNetworking/AFNetworking.git/': Failed to connect to github.com port 443: Connection refused
为什么?如何解决这个问题,帮助,谢谢。
我正在尝试使用两个豆荚--JGAFImageCache和ADNKit--指定不同版本的AFNetworking。这是我的Podfile
platform :ios, '7.0'
pod 'AFNetworking'
pod 'ADNKit'
pod 'JGAFImageCache'
pod 'DerpKit'
pod 'SVProgressHUD'
pod 'SSKeychain'
pod 'iOS7Colors', '~> 2.0.0'
在运行
Cocoapods没有在现有项目上安装AFNetworking 2.6.0中的所有文件。见附图。另外两个吊舱,ECSlidingViewController和DateTools安装得很好。
对于如何在新设置的pod install of AFNetworking上解决丢失的文件,有什么建议吗?
Podfile:
platform :ios, '7.0'
pod 'AFNetworking'
pod 'ECSlidingViewController', '~> 2.0'
pod 'DateTools'
Podf
我是一个XCode新手,在使用Cocoapods安装AFNetworking时,我得到了以下错误:
ld: library not found for -lPods-AFNetworking
以下是我的桥接文件的组成:
#import <AFNetworking/AFNetworking.h>
下面是项目导航的屏幕截图,包括完整的错误消息,有人能帮忙吗?
我已经使用cocoapods很长一段时间了,从来没有出现过任何问题,但从昨天起,我就从GitHub那里得到了超时,now试图执行pod install。
这是我的文件:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '7.0'
use_frameworks!
pod 'iCarousel'
pod 'SwipeView'
pod 'AFNetworking'
pod 'ActionSheetPicker-3.0'
po
在过去的几年里,我使用作为git客户端。昨天,我试用了的最后一个版本( Infinite (214)版本)。这比我以前试过的所有其他版本都好。仍然没有比SourceTree更好,但不管怎样,我喜欢它:),我决定使用而不是SourceTree一段时间。
但是今天我打开了另一个项目,我对一些文件状态感到惊讶。这表明有90多个未提交的更改:
但事实上我只更改了几个文件。它是如何发生的。为了确定,我在同一个项目的终端上签入了:
=> git status
但令人惊讶的是,它在OSX的git版本上也显示了同样的结果:
On branch SomeBranchNameOfProject
C
在我的iOS XCode项目中,我使用来自第三方的外部非开源库。现在我想通过cocoapods将AFNetworking添加到我的项目中。当我这样做的时候,我会得到多个错误,比如:
duplicate symbol _OBJC_METACLASS_$_AFImageCache in:
/Path/to/framework(UIImageView+AFNetworking.o)
/Path/to/DerivedData/Build/Products/Debug-iphonesimulator/libPods.a(UIImageView+AFNetworking.o)
63 du
我想更新pod 'AFNetworking', '~> 4.0.1',但是我的终端显示了下面的错误,比如当pod 命令运行时
Specs satisfying the `AFNetworking/NSURLSession (= 4.0.1), AFNetworking/NSURLSession (~> 3.0)` dependency were found, but they required a higher minimum deployment target.
我的podfile如下所示
pod 'AFOAuth2Manager'
这就是我在Podfile中尝试做的事情:
platform :ios, '7.0'
target TargetOne, :exclusive => true do
pod 'AFNetworking', '2.6.0'
end
target TargetTwo, :exclusive => true do
pod 'AFNetworking', '2.5.0'
end
下面是输出:
[!] Unable to satisfy the following requirements
我创建了新的Xcode项目,然后使用可可荚向该项目添加了一些库。在我的pod文件中,我提到了以下库。
platform:ios, '7.0'
pod 'RestKit', '~> 0.22' <-- this one should contains AFNetworking
pod 'SSKeychain', '~> 1.2'
在编程过程中,我意识到Xcode找不到AFHTTPRequestOperationManager,我想知道为什么,因为其他AFNetworking类可以正常工作,比如A
在从主版本导入AFNetworking和UIKIT+AFNetworking之后,我将得到Xcode中的8个解析问题。我还没有做任何事情,只是使用了#import AFNetworking.h,并在AFHTTPRequestOperationManager.h中收到了下面的错误
@property (readonly, nonatomic, strong) NSURL *baseURL;
这些错误是:
/workspace/MD/AFNetworking/AFHTTPRequestOperationManager.h:90:48: Expected member name or ';&
我收到这条消息后,提交我的应用程序,应用商店连接。
ITMS 90809:不推荐使用API -苹果将停止在上传UIWebView API时接受使用myApp API的应用程序提交。
它告诉我,我的项目正在使用WebView (废弃库)。我在AFNetworking库中发现了问题,在转到这个之后,他们报告说这个问题被纠正了,所以当我更新pod并运行pod安装时,我会收到以下错误。
[!] CocoaPods could not find compatible versions for pod "AFNetworking/NSURLSession":
In snapsh
我一直试图通过使用AFNetworking-RACExtensions来实现CocoaPods,但它总是显示出以下错误:
[!] Unable to satisfy the following requirements:
- `ReactiveCocoa (= 2.1.8)` required by `Podfile`
- `ReactiveCocoa/no-arc` required by `ReactiveCocoa (2.1.8)`
- `ReactiveCocoa/Core` required by `ReactiveCocoa (2.1.8)`
- `ReactiveCocoa/no