2016-09-15 2 views
0

내 Podfile에 나열된 모든 pod에 대해 podSpec을 찾을 수 없습니다. 내 Podfile은 다음과 같습니다`podName`에 대한 사양을 찾을 수 없습니다

use_frameworks! 

target 'MyTargetName' do 
    pod 'Gloss' 
    pod 'IQKeyboardManagerSwift' 
    pod 'ICViewPager' 
    pod 'SkyFloatingLabelTextField' 
    pod "KCFloatingActionButton" 
    pod "TSMessages" 
end 

가 처음에 나는 오류가 있어요 :

[!] Unable to find a specification for `IQKeyboardManagerSwift` 

내가 IQKeyboardManagerSwift을 제거하려고했습니다,하지만 그때는 다른 오류 얻을 : 나는했습니다

[!] Unable to find a specification for `ICViewPager` 

을 이 두 프로젝트를 모두 확인하고 cocoapods.org에 존재하며 podspec은 godub 및 pod repo에 존재합니다. Xcode 8.0 및 Swift 3.0으로 업데이트하면 모든 것이 시작됩니다. 어떤 생각이 잘못 됐는지 아십니까?

편집 :

use_frameworks! 

target 'MyTargetName' do 
    pod 'Gloss' 
    pod 'IQKeyboardManagerSwift', :git => 'https://github.com/hackiftekhar/IQKeyboardManager' 
    pod 'ICViewPager', :git => 'https://github.com/iltercengiz/ICViewPager' 
    pod 'SkyFloatingLabelTextField’, :git => 'https://github.com/Skyscanner/SkyFloatingLabelTextField' 
    pod "KCFloatingActionButton”, :git => 'https://github.com/kciter/KCFloatingActionButton' 
    pod "TSMessages”, :git => 'https://github.com/KrauseFx/TSMessages' 
end 

답변

0

당신이 당신의 Podfile의 상단에있는 소스를 가지고 있습니까 :

나는 TI는 다운로드 cocoapods에 관련된 문제를 해결 해결 방법을 찾을 관리?

source 'https://github.com/CocoaPods/Specs.git' 
+0

Xcode와 Swift를 업그레이드하기 전에 반드시 필요한 것은 아니 었습니다 ... 지금 왜? Cocoapods는 프로세스 전반에서 동일한 버전 (최신 버전)으로 유지되었습니다. – Aleksandar

+0

추가하여 문제를 해결 했습니까? 그렇다면 왜 그것이 이전에 효과가 있었는지 모르지만 갑자기 그걸로 일하지 않게되었습니다. – Hodson

+0

찾은 해결 방법으로 답변을 업데이트했습니다. 당분간은 작동하지만 이것이 올바른 방법은 아닙니다. – Aleksandar

관련 문제