2016-01-21 37 views
0

Cocoapods未在現有項目中安裝AFNetworking 2.6.0中的所有文件。見附圖。另外兩個容器,ECSlidingViewController和DateTools,安裝得很好。Pods安裝不會在現有項目的AFNetworking中安裝所有文件

關於如何在新設置的AFNetworking的pod install上解決丟失文件的任何建議?

Podfile:

platform :ios, '7.0' 
pod 'AFNetworking' 
pod 'ECSlidingViewController', '~> 2.0' 
pod 'DateTools' 

Podfile.lock:

  • 使用使用的CocoaPods 0.38.2

吊艙安裝上新設置AFNetworking 2.6.0版

  • 創建:
    這些是唯一的AFNetworking文件安裝在一個現有項目的新系統。它缺少文件夾/文件 - NSURLSession,可達性,安全性和序列化。 These are the only AFNetworking files installed on new system. Missing folders/files are NSURLSession, Reachability, Security, and Serialization.

    現有項目:
    這些都是安裝在現有項目中的所有文件AFNetworking。 These are all the AFNetworking files that were installed on an existing project.

    使用Xcode 7.2,pod版本0.38.2,OS X Yosemite。

  • 回答

    0

    我解決了這個問題,通過刪除Podfile.lock,併爲AFNetworking設置一個2.6.x版本。這導致cocoapods安裝AFNetworking v2.6.3並且安裝了所有必要的文件!可能是v2.6.0的一個bug。

    相關問題