Search code examples
swiftxcodecocoapods

The specified path `DemoView.podspec` does not point to an existing podspec file


First time i am creating own CocoaPod, while pushing podspec using trunk to cocoapods,

pod trunk push DemoView.podspec

i am getting this error, "[!] The specified path DemoView.podspec does not point to an existing podspec file."

what mistake i am doing, anyone could help or suggest me to solve this.


Solution

  • I did small mistake here, by this

    $ pod trunk push [PATH]
    

    i have given full path for podspec, finally that error gone.