2015-11-05 103 views
2

我在Xcode項目使用幾個莢,一切很好地工作,除了SimpleAuthSimpleAuth莢不安裝正確

這是我在我的podfile代碼:

source 'https://github.com/CocoaPods/Specs.git' 
use_frameworks! 
platform :ios, ‘8.0’ 
pod 'SWRevealViewController', '~> 2.3' 
pod 'SAMCache' 

source 'https://github.com/calebd/SimpleAuth' 
use_frameworks! 
pod 'SimpleAuth/Instagram' 

然後,我用安裝我莢我終端針對我的項目文件夾。正如你所看到的,在我的項目創造了「SimpleAuth」文件夾爲空時,它應包括所有需要運行的Objective-C類:

enter image description here

通過更多的經驗Objective-C的任何幫助程序員非常感謝。

回答

0

你爲什麼要用兩種方法。而不是用簡單的

podflie

use_frameworks! 
platform :ios, ‘8.0’ 
pod 'SWRevealViewController', '~> 2.3' 
pod 'SAMCache' 
pod 'SimpleAuth/Instagram' 

也沒有必要提的源路徑。 Cocoapods會自動完成。 它沒有被使用,因爲如果將來有一段時間,如果它改變,那麼你將有一個問題。