简体   繁体   中英

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. 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>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM