私は正常に静的ライブラリ、MyCoreを作成し、関連するリポジトリを作成しました。
は、その後、私は、このようにMyCore.podspecを作成しました:プライベートcocoapodの作成、gitタグの問題
Pod::Spec.new do |s|
s.name = "MyCore"
s.version = "0.1.4"
s.summary = "..."
s.description = "..."
s.homepage = "https://foo.com/MyCore"
s.license = '...'
s.platform = :ios, "8.0"
s.source = { :git => "https://foo.com/MyCore.git", :tag => s.version.to_s }
s.source_files = 'MyCore/*.swift'
end
私は
pod spec lint --allow-warnings
を実行し、podspecは、検証に合格しました。私は実行すると
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
inhibit_all_warnings!
target 'MyProject' do
pod 'MyCore', :git => 'https://foo.com/MyCore.git'
end
「ポッドをインストール」、私のポッドがインストールされていますが、ない最後のタグで(0.1.4)として:
ニース、私のプロジェクトに比べて私はpodfileを持っています私は期待しています:
Installing MyCore 0.1.0
いいですか?スペックレポに格納されていないプライベートポッドについては
あなたの 'Podfile.lock'ファイルは' MyCore'について何を言いますか?また、 'pod olddated'の出力は何ですか? –