How do I create my own Cocoapod for a static library?

I have developed a static library in an iOS C object, I want to upload it to Github so that users can integrate it into their projects with Cocoapods. I've been banging my head about this for a long time, but with unsatisfactory results. Below are the links I tried:

https://guides.cocoapods.org/making/making-a-cocoapod.html

http://blog.sigmapoint.pl/developing-static-library-for-ios-with-cocoapods/

Below are the errors I run into at one point or another:

- ERROR | [iOS] The `source_files` pattern did not match any file

- [!] The specified path `GhazalahKhan/Pyze/Pyze.podspec` does not point to an existing podspec file.

- warning: Could not find remote branch 0.0.1 to clone.
- fatal: Remote branch 0.0.1 not found in upstream origin

      

Can anyone suggest a tutorial with a step by step explanation or write it yourself? I'll be very grateful.

+3


source to share





All Articles