[英]Pod Repo Push not working in iOS
I have created sample CocoaPod file and it worked successfully, now on final stage when I am doing Pod Repo Push it showing me error. 我已经创建了示例CocoaPod文件,并且该文件成功运行,现在在我执行Pod Repo Push的最后阶段,向我显示错误。 Below are the command and error which I am getting.
以下是我得到的命令和错误。
Pod::Spec.new do |s|
s.name = "IDFVSample"
s.version = "1.0.0"
s.summary = "A short description of VFIDOneFramework. Please check this awesome work from me you will like it"
s.description = "This is the best tutorial. Recently given presentation in the world great forum for the member."
s.homepage = "https://github.com/kashiftriffort/IDFVSample"
s.license = "MIT"
s.author = { "KJilani" => "Kashif.triffort@gmail.com" }
s.platform = :ios, "9.0"
s.source = { :git => "https://github.com/kashiftriffort/IDFVSample.git", :tag => "1.0.0" }
s.source_files = "IDFVSample/IDFVSample/IDFVSample.swift"
s.dependency 'Firebase/Core'
end
pod repo push IDFVPodSpecs IDFVSample.podspec --allow-warnings
Validating spec
Cloning spec repo `-1` from ``
[!] Unable to add a source with url `` named `-1`.
You can try adding it manually in `~/.cocoapods/repos` or via `pod repo add`.
将您的IDFVSample.podspec
移至存储库的根目录(已位于LICENSE和README文件中)
Looks like you have not added the repo containing your specs yet. 看来您尚未添加包含规格的仓库。 Do something like:
做类似的事情:
pod repo add IDFVSample <git source>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.