Sunday, September 25, 2022
HomeiOS Developmentios - The RWPickFlavor.podspec specification does not validate

ios – The RWPickFlavor.podspec specification does not validate

[ad_1]

I’m learning by following this tutorial:
https://www.raywenderlich.com/5823-how-to-create-a-cocoapod-in-swift

And I’m stuck in the place where it says:
Using Your New CocoaPod

in the terminal I wrote:

cd ~/Documents/Libraries/RWPickFlavor 
pod repo add RWPodSpecs https://github.com/user/RWPodSpecs.git 
pod repo push RWPodSpecs RWPickFlavor.podspec

but I get a lot of errors:

[!] /usr/bin/git clone https://github.com/user/RWPodSpecs.git -- RWPodSpecs

fatal: destination path 'RWPodSpecs' already exists and is not an empty directory

and:

Validating spec
 -> RWPickFlavor (0.1.0)
    - NOTE  | url: The URL (https://github.com/user/RWPickFlavor) is not reachable.
    - ERROR | [iOS] unknown: Encountered an unknown error ([!] /usr/bin/git clone https://github.com/user/RWPickFlavor.git /var/folders/bw/h527d_4x6yb7rv3tdrldty1c0000gn/T/d20220525-6530-de485a --template= --single-branch --depth 1 --branch 0.1.0

Cloning into '/var/folders/bw/h527d_4x6yb7rv3tdrldty1c0000gn/T/d20220525-6530-de485a'...
warning: Could not find remote branch 0.1.0 to clone.
fatal: Remote branch 0.1.0 not found in upstream origin
) during validation.

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

Any ideas?

[ad_2]

Source link

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments