2017-05-21 12 views
0

'SayHello2'라는 이름으로 성공적으로 코코아 포드 리포지토리를 만들었습니다. 이처럼
:
enter image description here오류 수정 방법 : [!]`My Own Cocoapods repo`에 대한 사양을 찾을 수 없습니까?

그리고 내 GitHub의 업데이트 : SayHello2 Github Address

나는 모든 것이 올바른 생각합니다. 하지만 검색 할 때 cocoapods.org의 프로젝트에서 찾지 못했습니다. 시도 얻을이 오류 Xcode 프로젝트에이 포드를 추가 할 때
enter image description here

을이 내 사양 파일입니다

# 
# Be sure to run `pod lib lint SayHello2.podspec' to ensure this is a 
# valid spec before submitting. 
# 
# Any lines starting with a # are optional, but their use is encouraged 
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html 
# 

Pod::Spec.new do |s| 
s.name    = 'SayHello2' 
s.version   = '0.1.0' 
s.summary   = 'And just SayHello2.' 

# This description is used to generate tags and improve search results. 
# * Think: What does it do? Why did you write it? What is the focus? 
# * Try to keep it short, snappy and to the point. 
# * Write the description between the DESC delimiters below. 
# * Finally, don't worry about the indent, CocoaPods strips it! 


s.description  = "This is just a testing a git with cocoapods - SayHello2." 


s.homepage   = 'https://github.com/reza-khalafi/SayHello2' 
# s.screenshots  = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 
s.license   = { :type => 'MIT', :file => 'LICENSE' } 
s.author   = { 'reza-khalafi' => '[email protected]' } 
s.source   = { :git => 'https://github.com/reza-khalafi/SayHello2.git', :tag => s.version.to_s } 
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>' 

s.ios.deployment_target = '9.0' 

s.source_files = 'SayHello2/Classes/**/*' 

# s.resource_bundles = { 
# 'SayHello2' => ['SayHello2/Assets/*.png'] 
# } 

# s.public_header_files = 'Pod/Classes/**/*.h' 
# s.frameworks = 'UIKit', 'MapKit' 
# s.dependency 'AFNetworking', '~> 2.3' 
end 

답변

6

당신이해야 할 모든

pod repo remove master 
pod setup 

가 확인입니다 첨부 된 이미지.

enter image description here

+0

코코아포드를 완전히 제거하고 다시 설치하십시오. Tnx –

+0

그러나 나는 cocoapods에 의한 석방을위한 시간이 걸린다 고 생각합니다. –