2016-08-03 12 views
0

私はプライベートポッドを作成しようとしています。私がやった何Podspecはエラーなしで検証されません

: *作成し、正しい分岐 でレポを* podspec

今、私はpodspec検証で苦労していますを作成します押してください。

BKit.podspec

Pod::Spec.new do |s| 
    s.name    = 'BKit' 
    s.version   = '0.1.0' 
    s.summary   = 'This is for myown usage kit' 
    s.homepage   = 'https://wdowikowski.pl' 
    s.license   = { :type => 'MIT', :file => 'LICENSE' } 
    s.author   = { 'Błażej Wdowikowski' => '[email protected]' } 
    s.source   = { :git => 'https://url.to.repo', :tag => s.version.to_s } 
    s.social_media_url = 'https://twitter.com/the_dudi' 
    s.ios.deployment_target = '8.0' 
    s.source_files = 'BKit/Classes/**/*' 
    s.frameworks = 'UIKit' 
    s.dependency 'Cheetah' 
    s.dependency 'Decodable' 
end 

pod repo push BKit BKit.podspec --verboseを呼び出した後、私は私が間違ってやっていると私は私がどうあるべきかではわからないのかわからない

//Building log 
** BUILD SUCCEEDED ** 

-> BKit (0.1.0) 
    + WARN | xcodebuild: Cheetah/Cheetah/Bezier.swift:44:36: warning: '++' is deprecated: it will be removed in Swift 3 
    + WARN | xcodebuild: Cheetah/Cheetah/Bezier.swift:44:9: warning: C-style for statement is deprecated and will be removed in a future version of Swift 
    + WARN | xcodebuild: Cheetah/Cheetah/Cheetah.swift:290:16: warning: '++' is deprecated: it will be removed in Swift 3 
    + WARN | xcodebuild: Cheetah/Cheetah/Cheetah.swift:295:28: warning: '--' is deprecated: it will be removed in Swift 3 
    + WARN | xcodebuild: Cheetah/Cheetah/CheetahManager.swift:35:16: warning: '++' is deprecated: it will be removed in Swift 3 
    + WARN | xcodebuild: Cheetah/Cheetah/CheetahManager.swift:46:65: warning: use of string literal for Objective-C selectors is deprecated; use '#selector' instead 

[!] The `BKit.podspec` specification does not validate. 

/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/command/repo/push.rb:130:in `block in validate_podspec_files' 
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/command/repo/push.rb:119:in `each' 
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/command/repo/push.rb:119:in `validate_podspec_files' 
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/command/repo/push.rb:64:in `run' 
/Library/Ruby/Gems/2.0.0/gems/claide-1.0.0/lib/claide/command.rb:334:in `run' 
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/command.rb:50:in `run' 
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/bin/pod:55:in `<top (required)>' 
/usr/local/bin/pod:23:in `load' 
/usr/local/bin/pod:23:in `<main>' 

を取得で。

私はあなたがレポURLのプレースホルダには左のように見えますCocoapods 1.0.1

答えて

1

を使用しています。

の場合、fatal: unable to access 'https://url.to.repo/': Could not resolve host: url.to.repoのように仕様が失敗する理由に関する詳細なエラーメッセージが表示されます。希望が役立ちます。

関連する問題