2017-05-21 3 views
0

「SayHello2」という名前のココアポッドリポジトリを作成しました。このよう

enter image description hereエラーを修正する方法:[!] `My Own Cocoapods repo`の仕様を見つけることができませんか?

そして、私のGitHubを更新:SayHello2 Github Address

私はすべてが正しいと思います。しかし、検索時に私のプロジェクトcocoapods.orgに見つかりませんでした。そして時に試して、このエラーを取得するXcodeプロジェクトにこのポッドを追加する:
enter image description here

と、これは私のspecファイルである:

# 
# 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のリリースに時間がかかると思います。 –

関連する問題